Skip to content

Commit

Permalink
deleting the running state in case of error so that the job is indeed…
Browse files Browse the repository at this point in the history
… retried
  • Loading branch information
pgte committed Aug 13, 2013
1 parent a2c547b commit 00e2803
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -56,6 +56,7 @@ module.exports = function (input, jobs, map, work) {
done = true
if(err) {
return setTimeout(function () {
delete running[hash]
doJob(data)
//hardcoded timeout WTF
}, 50)
Expand Down

0 comments on commit 00e2803

Please sign in to comment.