Resolve #4165
This commit is contained in:
parent
71ba72e796
commit
20ee57931f
5 changed files with 76 additions and 2 deletions
|
@ -87,3 +87,9 @@ export default function() {
|
|||
|
||||
return queue;
|
||||
}
|
||||
|
||||
export function destroy() {
|
||||
queue.destroy().then(n => {
|
||||
queueLogger.succ(`All job removed (${n} jobs)`);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue