Skip to content

Commit 2f76a75

Browse files
TrottBethGriggs
authored andcommittedDec 15, 2020
doc: revise agent.destroy() text
PR-URL: #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>
1 parent 40d5928 commit 2f76a75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎doc/api/http.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ Destroy any sockets that are currently in use by the agent.
251251

252252
It is usually not necessary to do this. However, if using an
253253
agent with `keepAlive` enabled, then it is best to explicitly shut down
254-
the agent when it will no longer be used. Otherwise,
255-
sockets may hang open for quite a long time before the server
254+
the agent when it is no longer needed. Otherwise,
255+
sockets might stay open for quite a long time before the server
256256
terminates them.
257257

258258
### `agent.freeSockets`

0 commit comments

Comments
 (0)
Please sign in to comment.