Commit 82dd10fb by Alex MacCaw

Merge pull request #5 from bendrucker/master

Increase request timeout to 10 seconds
parents 64ec25ee 80ec420e
......@@ -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