This repository has been archived by the owner. It is now read-only.
set nodejs/request maxSockets to Infinity (or something more that default 5) #102
Milestone
Comments
|
Yes. |
|
Re: "In nodejs 0.12 and io.js, this limit goes away, IIRC",
— via http://blog.nodejs.org/2015/02/06/node-v0-12-0-stable/ |
vladikoff
added a commit
to vladikoff/fxa-profile-server
that referenced
this issue
Nov 4, 2015
vladikoff
added a commit
to vladikoff/fxa-profile-server
that referenced
this issue
Nov 9, 2015
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
nodejs-0.10.xby default limits outgoing connections to a pool of 5, which is generally not a good default. (In nodejs 0.12 and io.js, this limit goes away, IIRC). Anyways, there are a couple of places where we should remove this bottleneck in the image handling; I believe the option that does this in currentrequest/nodejs-0.10.36ispool: { maxSockets: Infinity }but check that.https://github.com/mozilla/fxa-profile-server/blob/master/lib/routes/avatar/upload.js#L33-L35
https://github.com/mozilla/fxa-profile-server/blob/master/lib/server/web.js#L54-L59
/cc @ckolos fyi
The text was updated successfully, but these errors were encountered: