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
1 changed files with 2 additions and 0 deletions

View File

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