Skip to content

Commit ef2b21e

Browse files
change maxSocket to 10000
1 parent a240edf commit ef2b21e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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 = 1000;
17-
require('https').globalAgent.maxSockets = 1000;
16+
require('http').globalAgent.maxSockets = 10000;
17+
require('https').globalAgent.maxSockets = 10000;
1818
var app = require('./express-app');
1919
this.express = http.createServer(app);
2020
this.primus = socketServer.createSocketServer(this.express);

0 commit comments

Comments
 (0)