vendredi 3 avril 2015

Does the request Node module limit outbound requests?

Running into an issue when load testing a server page, where we are making outbound requests to an api using the request module, and then on completion or error, redirecting the page (using express). Under stress the page we are posting to times out, and I'm wondering if it has to do with the max maxSockets parameter in that module. Does anyone know the default maxSockets for the request module? how to I change this to something reasonable.


Thanks


Aucun commentaire:

Enregistrer un commentaire