mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 19:03:08 +02:00
Enable lifo job
This commit is contained in:
parent
fd2c01515e
commit
144345a359
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue