doc: specify that maxFreeSockets is per host
The `maxFreeSockets` option specifies the maximum number of free sockets per host. PR-URL: https://github.com/nodejs/node/pull/40483 Fixes: https://github.com/nodejs/node/issues/40446 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
parent
d6c3a10757
commit
78e8f082ab
@ -158,7 +158,7 @@ changes:
|
||||
all hosts in total. Each request will use a new socket
|
||||
until the maximum is reached.
|
||||
**Default:** `Infinity`.
|
||||
* `maxFreeSockets` {number} Maximum number of sockets to leave open
|
||||
* `maxFreeSockets` {number} Maximum number of sockets per host to leave open
|
||||
in a free state. Only relevant if `keepAlive` is set to `true`.
|
||||
**Default:** `256`.
|
||||
* `scheduling` {string} Scheduling strategy to apply when picking
|
||||
|
Loading…
x
Reference in New Issue
Block a user