Skip to content

Commit

Permalink
doc: specify that maxFreeSockets is per host
Browse files Browse the repository at this point in the history
The `maxFreeSockets` options specifies the maximum number of free
sockets per host.

Fixes: #40446
  • Loading branch information
lpinca committed Oct 16, 2021
1 parent 7624917 commit a1209e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http.md
Expand Up @@ -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
Expand Down

0 comments on commit a1209e4

Please sign in to comment.