Permalink
Browse files

Don't limit the max number of http requests

  • Loading branch information...
1 parent d2ed484 commit 32daa2d2634c8c798c851acb5d3e98643928b021 @mikefrey mikefrey committed Dec 12, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 app.js
View
3 app.js
@@ -9,6 +9,9 @@ var extendable = require('extendable')
var master = require('./master')
var router = require('./router')
+// don't limit node's max sockets. The default is 5.
+http.globalAgent.maxSockets = Number.MAX_VALUE
+
function App(config) {
// setup as an event emitter
EventEmitter.call(this)

0 comments on commit 32daa2d

Please sign in to comment.