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` option specifies the maximum number of free
sockets per host.

PR-URL: #40483
Fixes: #40446
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
  • Loading branch information
lpinca committed Oct 19, 2021
1 parent d6c3a10 commit 78e8f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
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 78e8f08

Please sign in to comment.