diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-05-11 14:39:40 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-05-11 14:39:40 +0900 |
| commit | f96c60c1a0374aabeecbe82c15d7e3373efed8eb (patch) | |
| tree | 59b136dff0287f74166b385d6de811d83b1f455a /src/queue/processors/deliver.ts | |
| parent | Merge branch 'develop' (diff) | |
| parent | 12.81.0 (diff) | |
| download | misskey-f96c60c1a0374aabeecbe82c15d7e3373efed8eb.tar.gz misskey-f96c60c1a0374aabeecbe82c15d7e3373efed8eb.tar.bz2 misskey-f96c60c1a0374aabeecbe82c15d7e3373efed8eb.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/queue/processors/deliver.ts')
| -rw-r--r-- | src/queue/processors/deliver.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/queue/processors/deliver.ts b/src/queue/processors/deliver.ts index b167154fcd..f9c53fc8f1 100644 --- a/src/queue/processors/deliver.ts +++ b/src/queue/processors/deliver.ts @@ -10,6 +10,7 @@ import { fetchMeta } from '@/misc/fetch-meta'; import { toPuny } from '@/misc/convert-host'; import { Cache } from '@/misc/cache'; import { Instance } from '../../models/entities/instance'; +import { DeliverJobData } from '../types'; const logger = new Logger('deliver'); @@ -17,7 +18,7 @@ let latest: string | null = null; const suspendedHostsCache = new Cache<Instance[]>(1000 * 60 * 60); -export default async (job: Bull.Job) => { +export default async (job: Bull.Job<DeliverJobData>) => { const { host } = new URL(job.data.to); // ブロックしてたら中断 |