Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

set the correct timeout for jobs

  • Loading branch information...
commit 66b112119f23f33b16c4322f8c7c37bc01844dac 1 parent ac552bf
@technoweenie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/index.coffee
View
2  src/index.coffee
@@ -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().
Please sign in to comment.
Something went wrong with that request. Please try again.