New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve documentation for pool and maxSockets options #1250
Conversation
This has come up several times recently, for example request#1150 and request#1249.
Thanks! I wonder is there any reason not use I am asking this because I use |
@anklos why don't you just use var special = unirest.request.defaults({pool:{maxSockets:100}}); it should be the same |
Modifying global defaults is very bad. I'm not familiar with |
@simov @nylen OK. I dont think I can do that as Thanks gents! |
@anklos I still think my code above will work. |
@nylen It works if I use |
|
@nylen sorry confused by the other comment. And my bad, you are right, that code should work. Thanks a lot! |
You're welcome. Haven't seen any objections to this change, so merging. |
Improve documentation for pool and maxSockets options
This has come up several times recently, for example #1150 and #1249.