From 9c85e5a188fa9c53563f6ab81cfddad9e8a45ca6 Mon Sep 17 00:00:00 2001 From: Aaron Arinder Date: Tue, 19 Oct 2021 10:22:28 -0400 Subject: [PATCH 1/2] readme: making `timeout`'s default clear --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 70e57bb..91ed5ed 100644 --- a/README.md +++ b/README.md @@ -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 to 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 From f888b4d499c517f0dbc096208f5b3205ec449084 Mon Sep 17 00:00:00 2001 From: Aaron Arinder Date: Tue, 19 Oct 2021 10:27:03 -0400 Subject: [PATCH 2/2] readme: timeout default: typo/grammar --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 91ed5ed..f1e3223 100644 --- a/README.md +++ b/README.md @@ -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` so long as that value is greater to or equal to 30 seconds, otherwise the default is 30 seconds. + 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