From b6567a1f2a9569539a3f4a4a594cb33188be8296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82ecki?= Date: Wed, 15 Aug 2012 17:00:40 +0200 Subject: [PATCH] [fix] Set timeout to 8 minutes --- node.js/lib/client/client.js | 1 + 1 file changed, 1 insertion(+) diff --git a/node.js/lib/client/client.js b/node.js/lib/client/client.js index cc6f4e3..f00fc77 100644 --- a/node.js/lib/client/client.js +++ b/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) {