mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-29 10:32:55 +01:00
Fix bug
This commit is contained in:
parent
38656103c0
commit
18968e7208
1 changed files with 2 additions and 2 deletions
|
@ -178,10 +178,10 @@ export function destroy() {
|
|||
deliverQueue.once('cleaned', (jobs, status) => {
|
||||
deliverLogger.succ(`Cleaned ${jobs.length} ${status} jobs`);
|
||||
});
|
||||
deliverQueue.clean(0, 'wait');
|
||||
deliverQueue.clean(0, 'delayed');
|
||||
|
||||
inboxQueue.once('cleaned', (jobs, status) => {
|
||||
inboxLogger.succ(`Cleaned ${jobs.length} ${status} jobs`);
|
||||
});
|
||||
inboxQueue.clean(0, 'wait');
|
||||
inboxQueue.clean(0, 'delayed');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue