Skip to content

Commit 68a7f6d

Browse files
authored
Merge pull request #14501 from epmartini/patch-1
chore: remove typo
2 parents 9221cc2 + abace24 commit 68a7f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/connections.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ conn.on('close', () => console.log('close'));
306306

307307
<h2 id="keepAlive"><a href="#keepAlive">A note about keepAlive</a></h2>
308308

309-
Before Mongoose 5.2.0, you needed to enable the `keepAlive` option to initiate [TCP keepalive](https://tldp.org/HOWTO/TCP-Keepalive-HOWTO/overview.html) to prevent `"connection closed"` errors errors.
309+
Before Mongoose 5.2.0, you needed to enable the `keepAlive` option to initiate [TCP keepalive](https://tldp.org/HOWTO/TCP-Keepalive-HOWTO/overview.html) to prevent `"connection closed"` errors.
310310
However, `keepAlive` has been `true` by default since Mongoose 5.2.0, and the `keepAlive` is deprecated as of Mongoose 7.2.0.
311311
Please remove `keepAlive` and `keepAliveInitialDelay` options from your Mongoose connections.
312312

0 commit comments

Comments
 (0)