summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-03-08 21:43:17 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-03-08 21:43:17 +0900
commit4cebd6e84afdae42e22c2273c63b5d7fe8cf4b68 (patch)
tree0f0808f05263ac43fa0ae74c5915d2fc4daf59ba /src
parentAdd missing semicolon (diff)
downloadsharkey-4cebd6e84afdae42e22c2273c63b5d7fe8cf4b68.tar.gz
sharkey-4cebd6e84afdae42e22c2273c63b5d7fe8cf4b68.tar.bz2
sharkey-4cebd6e84afdae42e22c2273c63b5d7fe8cf4b68.zip
Increase job attempts limit a little
Diffstat (limited to 'src')
-rw-r--r--src/queue/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue/index.ts b/src/queue/index.ts
index 2fefeb83ab..b4067cd7ce 100644
--- a/src/queue/index.ts
+++ b/src/queue/index.ts
@@ -35,7 +35,7 @@ export function deliver(user: ILocalUser, content: any, to: any) {
};
return deliverQueue.add(data, {
- attempts: 4,
+ attempts: 8,
backoff: {
type: 'exponential',
delay: 1000
@@ -52,7 +52,7 @@ export function inbox(activity: any, signature: httpSignature.IParsedSignature)
};
return inboxQueue.add(data, {
- attempts: 4,
+ attempts: 8,
backoff: {
type: 'exponential',
delay: 1000