Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding max sockets to prevent memory leak

  • Loading branch information...
commit 6d33ea70d63a5cc23947907a8eb761630d96e63b 1 parent 87e6b9d
Jeff Su authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  mock/upbeat-server.js
1  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);
Please sign in to comment.
Something went wrong with that request. Please try again.