We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
keepAliveMsecs
1 parent 7c46df1 commit 138eda8Copy full SHA for 138eda8
README.md
@@ -44,8 +44,8 @@ $ npm install agentkeepalive --save
44
Can have the following fields:
45
* `keepAlive` {Boolean} Keep sockets around in a pool to be used by
46
other requests in the future. Default = `true`.
47
- * `keepAliveMsecs` {Number} When using HTTP KeepAlive, how often
48
- to send TCP KeepAlive packets over sockets being kept alive.
+ * `keepAliveMsecs` {Number} When using the keepAlive option, specifies the initial delay
+ for TCP Keep-Alive packets. Ignored when the keepAlive option is false or undefined. Defaults to 1000.
49
Default = `1000`. Only relevant if `keepAlive` is set to `true`.
50
* `freeSocketKeepAliveTimeout`: {Number} Sets the free socket to timeout
51
after `freeSocketKeepAliveTimeout` milliseconds of inactivity on the free socket.
0 commit comments