1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-01 22:06:02 +02:00
This commit is contained in:
syuilo
2019-02-06 15:24:59 +09:00
parent 71ba72e796
commit 20ee57931f
5 changed files with 76 additions and 2 deletions

View File

@@ -87,3 +87,9 @@ export default function() {
return queue;
}
export function destroy() {
queue.destroy().then(n => {
queueLogger.succ(`All job removed (${n} jobs)`);
});
}