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({
113
113
<!-- YAML
114
114
added: v0.3.4
115
115
changes:
116
+ - version: v14.5.0
117
+ pr-url: https://github.com/nodejs/node/pull/33617
118
+ description: Add `maxTotalSockets` option to agent constructor.
116
119
- version: v14.5.0
117
120
pr-url: https://github.com/nodejs/node/pull/33278
118
121
description: Add `scheduling` option to specify the free socket
@@ -136,6 +139,10 @@ changes:
136
139
* ` maxSockets ` {number} Maximum number of sockets to allow per
137
140
host. Each request will use a new socket until the maximum is reached.
138
141
** 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 ` .
139
146
* ` maxFreeSockets ` {number} Maximum number of sockets to leave open
140
147
in a free state. Only relevant if ` keepAlive ` is set to ` true ` .
141
148
** Default:** ` 256 ` .
You can’t perform that action at this time.
0 commit comments