Permalink
Browse files

set the correct timeout for jobs

  • Loading branch information...
1 parent ac552bf commit 66b112119f23f33b16c4322f8c7c37bc01844dac @technoweenie committed Feb 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/index.coffee
View
@@ -98,7 +98,7 @@ class ChainGang extends Events.EventEmitter
if @timeout <= 0
false
else
- setTimeout @triggerTimeout, 100, job
+ setTimeout @triggerTimeout, @timeout * 1000, job
# Handles a job that has been in the queue too long. This is the callback
# from setTimeout().

0 comments on commit 66b1121

Please sign in to comment.