Browse Source

Merge pull request #554 from isocolsky/keep-alive

Set keep-alive timeout
activeAddress
Matias Alejo Garcia 9 years ago
committed by GitHub
parent
commit
70e72f8307
  1. 5
      bws.js

5
bws.js

@ -43,6 +43,11 @@ var start = function(cb) {
function doStart(cb) {
var server = config.https ? serverModule.createServer(serverOpts, expressApp.app) : serverModule.Server(expressApp.app);
server.on('connection', function(socket) {
socket.setTimeout(30 * 1000);
})
async.parallel([
function(done) {

Loading…
Cancel
Save