Commit a41e2a18 authored by Tristan Cavelier's avatar Tristan Cavelier

recovered job are not removed from the queue -> fixed

parent 426ea1e8
...@@ -15,6 +15,8 @@ function enableJobRecovery(jio, shared, options) { ...@@ -15,6 +15,8 @@ function enableJobRecovery(jio, shared, options) {
} }
function recoverJob(param) { function recoverJob(param) {
shared.job_queue.remove(param.id);
shared.job_queue.save();
shared.emit('job', param); shared.emit('job', param);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment