diff --git a/node_modules/c9/rest_client.js b/node_modules/c9/rest_client.js index 8f42b1d0..931843b4 100644 --- a/node_modules/c9/rest_client.js +++ b/node_modules/c9/rest_client.js @@ -44,7 +44,11 @@ function RestClient(host, port, config) { port: port, path: path, method: method, - headers: headers + headers: headers, + timeout: config.timeout || 60 * 1000, + pool: config.pool || { + maxSockets: 100000 + } }; if (config.username) options.auth = config.username + ":" + config.password; @@ -141,4 +145,4 @@ function RestClient(host, port, config) { } } -module.exports = RestClient; +module.exports = RestClient; \ No newline at end of file