diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-05-21 17:27:47 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-05-21 17:27:47 +0900 |
| commit | 70d02cf1be55130f9e3b979633cfb568165a9c29 (patch) | |
| tree | 28dfc21715c38c514aab44c671ce4a9cf4749e0b /src/queue | |
| parent | Merge branch 'develop' (diff) | |
| parent | 12.81.1 (diff) | |
| download | misskey-70d02cf1be55130f9e3b979633cfb568165a9c29.tar.gz misskey-70d02cf1be55130f9e3b979633cfb568165a9c29.tar.bz2 misskey-70d02cf1be55130f9e3b979633cfb568165a9c29.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/queue')
| -rw-r--r-- | src/queue/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/queue/index.ts b/src/queue/index.ts index 01dd020d93..c7b7f0392c 100644 --- a/src/queue/index.ts +++ b/src/queue/index.ts @@ -71,6 +71,7 @@ export function deliver(user: ThinUser, content: unknown, to: string | null) { return deliverQueue.add(data, { attempts: config.deliverJobMaxAttempts || 12, + timeout: 1 * 60 * 1000, // 1min backoff: { type: 'exponential', delay: 60 * 1000 @@ -88,6 +89,7 @@ export function inbox(activity: IActivity, signature: httpSignature.IParsedSigna return inboxQueue.add(data, { attempts: config.inboxJobMaxAttempts || 8, + timeout: 5 * 60 * 1000, // 5min backoff: { type: 'exponential', delay: 60 * 1000 |