File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,9 @@ http.get({
113113<!-- YAML
114114added: v0.3.4
115115changes:
116+ - version: v14.5.0
117+ pr-url: https://github.com/nodejs/node/pull/33617
118+ description: Add `maxTotalSockets` option to agent constructor.
116119 - version: v14.5.0
117120 pr-url: https://github.com/nodejs/node/pull/33278
118121 description: Add `scheduling` option to specify the free socket
@@ -136,6 +139,10 @@ changes:
136139 * ` maxSockets ` {number} Maximum number of sockets to allow per
137140 host. Each request will use a new socket until the maximum is reached.
138141 ** Default:** ` Infinity ` .
142+ * ` maxTotalSockets ` {number} Maximum number of sockets allowed for
143+ all hosts in total. Each request will use a new socket
144+ until the maximum is reached.
145+ ** Default:** ` Infinity ` .
139146 * ` maxFreeSockets ` {number} Maximum number of sockets to leave open
140147 in a free state. Only relevant if ` keepAlive ` is set to ` true ` .
141148 ** Default:** ` 256 ` .
You can’t perform that action at this time.
0 commit comments