niallo/node-httpcheck — pull request #2 by freeall (2014-01-16 11:55:22+00:00)
Title: Added timeout option

To avoid a request hanging endlessly it would be great to be able to forward a timeout parameter to the request module.

With this addition you can set a timeout value (defaults to 30 seconds), like this:

``` js
check({
url: 'http://localhost:12321/foo',
checkTimeout: 50000
}, callback);
```