Enable lifo job

This commit is contained in:
syuilo 2019-03-08 05:39:59 +09:00
parent fd2c01515e
commit 144345a359
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -40,6 +40,7 @@ export function deliver(user: ILocalUser, content: any, to: any) {
type: 'exponential',
delay: 1000
},
lifo: true,
removeOnComplete: true,
removeOnFail: true
});
@ -57,6 +58,7 @@ export function inbox(activity: any, signature: httpSignature.IParsedSignature)
type: 'exponential',
delay: 1000
},
lifo: true,
removeOnComplete: true,
removeOnFail: true
});