Skip to content

Commit 977016a

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 <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent 111f0bd commit 977016a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http.md

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

0 commit comments

Comments
 (0)