diff options
author | Rich Trott <rtrott@gmail.com> | 2020-11-18 06:53:25 -0800 |
---|---|---|
committer | Beth Griggs <bgriggs@redhat.com> | 2020-12-15 20:15:26 +0000 |
commit | 2f76a75fc6a11486a11f75c669a78c7f190eb7b6 (patch) | |
tree | 5aab3ee70dc468f13a3a3657729cd52605f9f6ce | |
parent | 40d59281f737103b23c1e5e0a997a15b5f4caf7c (diff) | |
download | node-new-2f76a75fc6a11486a11f75c669a78c7f190eb7b6.tar.gz |
doc: revise agent.destroy() text
PR-URL: https://github.com/nodejs/node/pull/36163
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
-rw-r--r-- | doc/api/http.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/http.md b/doc/api/http.md index 2a805b6b75..b881b1ad21 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -251,8 +251,8 @@ Destroy any sockets that are currently in use by the agent. It is usually not necessary to do this. However, if using an agent with `keepAlive` enabled, then it is best to explicitly shut down -the agent when it will no longer be used. Otherwise, -sockets may hang open for quite a long time before the server +the agent when it is no longer needed. Otherwise, +sockets might stay open for quite a long time before the server terminates them. ### `agent.freeSockets` |