summaryrefslogtreecommitdiff
path: root/src/queue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-05-21 17:27:47 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-05-21 17:27:47 +0900
commit70d02cf1be55130f9e3b979633cfb568165a9c29 (patch)
tree28dfc21715c38c514aab44c671ce4a9cf4749e0b /src/queue
parentMerge branch 'develop' (diff)
parent12.81.1 (diff)
downloadmisskey-70d02cf1be55130f9e3b979633cfb568165a9c29.tar.gz
misskey-70d02cf1be55130f9e3b979633cfb568165a9c29.tar.bz2
misskey-70d02cf1be55130f9e3b979633cfb568165a9c29.zip
Merge branch 'develop'
Diffstat (limited to 'src/queue')
-rw-r--r--src/queue/index.ts2
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