Skip to content

Commit 8bbdbcc

Browse files
Trottcodebytere
authored andcommitted
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 5fa35f6 commit 8bbdbcc

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
@@ -253,8 +253,8 @@ Destroy any sockets that are currently in use by the agent.
253253

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

260260
### `agent.freeSockets`

0 commit comments

Comments
 (0)