Skip to content

Commit

Permalink
doc(readme): making timeout's default clear (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronArinder authored Dec 31, 2021
1 parent 01e61e9 commit bc2a1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $ npm install agentkeepalive --save
Only relevant if `keepAlive` is set to `true`.
* `timeout`: {Number} Sets the working socket to timeout
after `timeout` milliseconds of inactivity on the working socket.
Default is `freeSocketTimeout * 2`.
Default is `freeSocketTimeout * 2` so long as that value is greater than or equal to 30 seconds, otherwise the default is 30 seconds.
* `maxSockets` {Number} Maximum number of sockets to allow per
host. Default = `Infinity`.
* `maxFreeSockets` {Number} Maximum number of sockets (per host) to leave open
Expand Down

0 comments on commit bc2a1ce

Please sign in to comment.