# Set http.globalAgent.maxSockets

**URL:** <https://discourse.nodered.org/t/set-http-globalagent-maxsockets/62697>\
**Category:** General\
**Tags:** http-request, docker\
**Created:** [16 May 2022 13:52 UTC](https://discourse.nodered.org/t/set-http-globalagent-maxsockets/62697 "2022-05-16T13:52:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![barissecen](https://avatars.discourse-cdn.com/v4/letter/b/3ec8ea/32.png) [@barissecen](https://discourse.nodered.org/u/barissecen)\
**Post date:** [16 May 2022 13:52 UTC](https://discourse.nodered.org/t/set-http-globalagent-maxsockets/62697/1 "2022-05-16T13:52:10Z")

</div>

We are encountering an issue when we are doing a lot of requests using HTTP Request. As a solution, some people recommend to put http.globalAgent.maxSockets=100; paramater to seetings.js but when we put like this we are getting error. Can anyone help me on this please? I mean how to set this paramater. Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 July 2022 13:52 UTC](https://discourse.nodered.org/t/set-http-globalagent-maxsockets/62697/2 "2022-07-15T13:52:20Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
