Permalink
Browse files

adding max sockets to prevent memory leak

  • Loading branch information...
1 parent 87e6b9d commit 6d33ea70d63a5cc23947907a8eb761630d96e63b @jeffsu committed Oct 23, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 mock/upbeat-server.js
View
@@ -1,6 +1,7 @@
require('mochiscript');
require('js-yaml');
+require('http').globalAgent.maxSockets = 100;
var upbeat = require('../lib/upbeat');
var config = require('./example.yml');
var server = new upbeat.Server(config);

0 comments on commit 6d33ea7

Please sign in to comment.