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.

Fixes: #40446
  • Loading branch information
lpinca committed Oct 16, 2021
1 parent 7624917 commit 1faecd2
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
@@ -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

0 comments on commit 1faecd2

Please sign in to comment.