You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@VoltrexKeyva here is my understanding using scheduling : 'lifo' is not an override but it's not actually required because it is setting the same value again.
Also, I think we should add info only about the override for keepAlive and timeout here https://nodejs.org/api/http.html#httpglobalagent
So, we can mention something like
"Global instance of Agent which is used as the default for all HTTP client requests with the following overrides" keepAlive : true timeout : 5000
I would like to create a PR for this upon confirmation on above info.
Affected URL(s)
https://nodejs.org/api/http.html#new-agentoptions
Description of the problem
The docs state:
Whereas
globalAgent
is built withhttps://github.com/nodejs/node/blob/339eb10619ada1b482371ee244585de7f4a58552/lib/_http_agent.js#L552C1-L555C3
the only default there is
scheduling: 'lifo'
;keepAlive: true
andtimeout: 5000
are overrides.(the history part of the
globalAgent
docs states "The agent now uses HTTP Keep-Alive by default." so that part is ok ✔️)The text was updated successfully, but these errors were encountered: