Increase job attempts limit a little
This commit is contained in:
parent
90fbf9dbb0
commit
4cebd6e84a
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ export function deliver(user: ILocalUser, content: any, to: any) {
|
||||||
};
|
};
|
||||||
|
|
||||||
return deliverQueue.add(data, {
|
return deliverQueue.add(data, {
|
||||||
attempts: 4,
|
attempts: 8,
|
||||||
backoff: {
|
backoff: {
|
||||||
type: 'exponential',
|
type: 'exponential',
|
||||||
delay: 1000
|
delay: 1000
|
||||||
|
@ -52,7 +52,7 @@ export function inbox(activity: any, signature: httpSignature.IParsedSignature)
|
||||||
};
|
};
|
||||||
|
|
||||||
return inboxQueue.add(data, {
|
return inboxQueue.add(data, {
|
||||||
attempts: 4,
|
attempts: 8,
|
||||||
backoff: {
|
backoff: {
|
||||||
type: 'exponential',
|
type: 'exponential',
|
||||||
delay: 1000
|
delay: 1000
|
||||||
|
|
Loading…
Reference in a new issue