From cb881695d3f28977227c2877f95353a2060de2b3 Mon Sep 17 00:00:00 2001 From: Snipa22 Date: Tue, 18 Apr 2017 14:04:55 -0700 Subject: [PATCH] Update support.js --- lib/support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/support.js b/lib/support.js index ef77a95..02be5b5 100644 --- a/lib/support.js +++ b/lib/support.js @@ -67,7 +67,7 @@ function jsonRequest(host, port, data, callback, path) { uri = "http://" + host + ":" + port + "/"; } debug("JSON URI: " + uri + path + " Args: " + JSON.stringify(data)); - let client = requestJson.createClient(uri); + let client = requestJson.createClient(uri, {timeout: 300000}); client.headers["Content-Type"] = "application/json"; client.headers["Content-Length"] = data.length; client.headers["Accept"] = "application/json";