diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-07-26 11:04:07 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-26 11:04:07 +0900 |
| commit | f1ef85b63625edccd717dda8324078c232c7750e (patch) | |
| tree | 2681f8f5057a9608dd9be943f486ebdfb81717e4 /src/queue/processors/deliver.ts | |
| parent | Update CONTRIBUTING.md (diff) | |
| download | sharkey-f1ef85b63625edccd717dda8324078c232c7750e.tar.gz sharkey-f1ef85b63625edccd717dda8324078c232c7750e.tar.bz2 sharkey-f1ef85b63625edccd717dda8324078c232c7750e.zip | |
feat(server): Fetch icon url of an instance (#6591)
* feat(server): Fetch icon url of an instance
Resolve #6589
* chore: Rename the function
Diffstat (limited to 'src/queue/processors/deliver.ts')
| -rw-r--r-- | src/queue/processors/deliver.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue/processors/deliver.ts b/src/queue/processors/deliver.ts index 16b2f6e29a..cb7587ef81 100644 --- a/src/queue/processors/deliver.ts +++ b/src/queue/processors/deliver.ts @@ -4,7 +4,7 @@ import { registerOrFetchInstanceDoc } from '../../services/register-or-fetch-ins import Logger from '../../services/logger'; import { Instances } from '../../models'; import { instanceChart } from '../../services/chart'; -import { fetchNodeinfo } from '../../services/fetch-nodeinfo'; +import { fetchInstanceMetadata } from '../../services/fetch-instance-metadata'; import { fetchMeta } from '../../misc/fetch-meta'; import { toPuny } from '../../misc/convert-host'; @@ -48,7 +48,7 @@ export default async (job: Bull.Job) => { isNotResponding: false }); - fetchNodeinfo(i); + fetchInstanceMetadata(i); instanceChart.requestSent(i.host, true); }); |