Skip to content

Commit b47fd11

Browse files
author
anandkumarpatel
committed
Update server.js
1 parent a73b1fa commit b47fd11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ var debug = require('debug')('runnable-api:server');
1313

1414
function Server () {
1515
debug('new Server()');
16-
require('http').globalAgent.maxSockets = 10000;
17-
require('https').globalAgent.maxSockets = 10000;
16+
require('http').globalAgent.maxSockets = 1000;
17+
require('https').globalAgent.maxSockets = 1000;
1818
var app = require('./express-app');
1919
this.express = http.createServer(app);
2020
this.primus = socketServer.createSocketServer(this.express);

0 commit comments

Comments
 (0)