diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-03-08 21:43:17 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-03-08 21:43:17 +0900 |
| commit | 4cebd6e84afdae42e22c2273c63b5d7fe8cf4b68 (patch) | |
| tree | 0f0808f05263ac43fa0ae74c5915d2fc4daf59ba /src/queue/index.ts | |
| parent | Add missing semicolon (diff) | |
| download | sharkey-4cebd6e84afdae42e22c2273c63b5d7fe8cf4b68.tar.gz sharkey-4cebd6e84afdae42e22c2273c63b5d7fe8cf4b68.tar.bz2 sharkey-4cebd6e84afdae42e22c2273c63b5d7fe8cf4b68.zip | |
Increase job attempts limit a little
Diffstat (limited to 'src/queue/index.ts')
| -rw-r--r-- | src/queue/index.ts | 4 |
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 |