Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] Set timeout to 8 minutes

  • Loading branch information...
commit b6567a1f2a9569539a3f4a4a594cb33188be8296 1 parent 420904f
@mmalecki mmalecki authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  node.js/lib/client/client.js
View
1  node.js/lib/client/client.js
@@ -69,6 +69,7 @@ Client.prototype._request = function (options, callback, success) {
options.uri = this.remoteUri + options.path;
options.headers = options.headers || {};
options.headers['content-type'] = options.headers['content-type'] || 'application/json';
+ options.timeout = 8 * 60 * 1000;
if (options.headers['content-type'] === 'application/json'
&& options.body) {
Please sign in to comment.
Something went wrong with that request. Please try again.