Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8bbdbcc

Browse filesBrowse 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
Copy full SHA for 8bbdbcc

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/http.md‎

Copy file name to clipboardExpand all lines: doc/api/http.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.