summaryrefslogtreecommitdiff
path: root/src/queue/index.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-03-14 21:51:33 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-03-14 21:51:33 +0900
commit18968e720806d5bc09301a1fdd58923fd4abb542 (patch)
treeb69d9f86e4d886e4e1e51aa77118a9751c7341b8 /src/queue/index.ts
parentAdd angle bracket covered url syntax to mfm (#4483) (diff)
downloadsharkey-18968e720806d5bc09301a1fdd58923fd4abb542.tar.gz
sharkey-18968e720806d5bc09301a1fdd58923fd4abb542.tar.bz2
sharkey-18968e720806d5bc09301a1fdd58923fd4abb542.zip
Fix bug
Diffstat (limited to 'src/queue/index.ts')
-rw-r--r--src/queue/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue/index.ts b/src/queue/index.ts
index 479b8defad..d8328a1d57 100644
--- a/src/queue/index.ts
+++ b/src/queue/index.ts
@@ -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');
}