Permalink
Browse files

Timeout is in ms

  • Loading branch information...
1 parent 188bf1a commit 3d570242e39f628ed789e871fb65740691baa8a2 @chriso chriso committed Oct 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/node.io/request.js
View
@@ -285,7 +285,7 @@ Job.prototype.doRequest = function (method, resource, body, headers, callback, p
//Set a request timeout?
if (this.options.timeout) {
self.cancel_timeout();
- options.timeout = this.options.timeout;
+ options.timeout = this.options.timeout * 1000;
}
//We can parse chunks as they are received if using soupselect/htmlparser

0 comments on commit 3d57024

Please sign in to comment.