From fee69fc33f83f99f3874cfa92e1745338de1dcdb Mon Sep 17 00:00:00 2001 From: ajkolean Date: Sat, 14 Apr 2018 16:07:38 -0400 Subject: [PATCH] set request maxSockets to infinity --- node-binance-api.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/node-binance-api.js b/node-binance-api.js index 4928c43b..95341b3b 100644 --- a/node-binance-api.js +++ b/node-binance-api.js @@ -47,6 +47,9 @@ module.exports = function() { method: method, timeout: options.recvWindow, agent: false, + pool: { + maxSockets: Infinity + }, headers: { 'User-Agent': userAgent, 'Content-type': contentType