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";