Increase job attempts limit a little

This commit is contained in:
syuilo 2019-03-08 21:43:17 +09:00
parent 90fbf9dbb0
commit 4cebd6e84a
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 2 additions and 2 deletions

View File

@ -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