Skip to content

Commit 7b74638

Browse files
lpincatargos
authored andcommitted
doc: specify that maxFreeSockets is per host
The `maxFreeSockets` option specifies the maximum number of free sockets per host. PR-URL: #40483 Fixes: #40446 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 9227f2a commit 7b74638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ changes:
156156
all hosts in total. Each request will use a new socket
157157
until the maximum is reached.
158158
**Default:** `Infinity`.
159-
* `maxFreeSockets` {number} Maximum number of sockets to leave open
159+
* `maxFreeSockets` {number} Maximum number of sockets per host to leave open
160160
in a free state. Only relevant if `keepAlive` is set to `true`.
161161
**Default:** `256`.
162162
* `scheduling` {string} Scheduling strategy to apply when picking

0 commit comments

Comments
 (0)