Skip to content

Commit

Permalink
Fix regression in timeout configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Apr 11, 2012
1 parent 919808c commit dc04cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/monitor.js
Expand Up @@ -109,7 +109,7 @@ Monitor.prototype.pollCheck = function(check, callback) {
if (!check) return;
var self = this;
var Poller = require('./pollers/' + (check.type || 'http'));
p = new Poller(check.url, this.timeout, function(err, time) {
p = new Poller(check.url, this.config.timeout, function(err, time) {
self.createPing(check, err, time, callback);
});
//p.setDebug(true);
Expand Down

0 comments on commit dc04cb7

Please sign in to comment.