I need to increase the number of outbound http sockets usable by a module I am writing. I know it is possible to do this globally using:
// increase max sockets
http.globalAgent.maxSockets = 1000;
What is the best pattern for authoring a module's maxSocket limit without affecting other modules?