Commit 80ec420e by Ben Drucker

Increase request timeout to 10 seconds

Closes #3, Closes #4
parent 64ec25ee
......@@ -59,7 +59,7 @@ ClearbitClient.prototype.request = function (options) {
webhook_id: options.webhook_id
}, options.query),
{
timeout: options.stream ? 60000 : 5000,
timeout: options.stream ? 60000 : 10000,
username: this.key,
password: '',
user_agent: 'ClearbitNode/v' + pkg.version
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment