Skip to content

Commit 2f7f3e7

Browse files
TrottBethGriggs
authored andcommitted
doc: revise agent.destroy() text
PR-URL: #36163 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 17d1e07 commit 2f7f3e7

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)