From 2f7f3e7cb5b8acd91c6dbc11f8138f14d40810ae Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 18 Nov 2020 06:53:25 -0800 Subject: [PATCH] doc: revise agent.destroy() text PR-URL: https://github.com/nodejs/node/pull/36163 Reviewed-By: Luigi Pinca Reviewed-By: Harshitha K P Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- doc/api/http.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/http.md b/doc/api/http.md index 2a805b6b75df88..b881b1ad212520 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`