Rise socket.io timeout

master
Daniel Berteaud 11 years ago
parent ccc26fb7fb
commit 0a27d9f6d7
  1. 4
      signalmaster/server.js

@ -55,8 +55,8 @@ function checkRoom(room,token,user,cb) {
} }
io.configure(function(){ io.configure(function(){
io.set('close timeout', 30); io.set('close timeout', 40);
io.set('heartbeat timeout', 15); io.set('heartbeat timeout', 20);
io.set('heartbeat interval', 5); io.set('heartbeat interval', 5);
io.set('authorization', function(data, accept){ io.set('authorization', function(data, accept){
if(data.headers.cookie){ if(data.headers.cookie){

Loading…
Cancel
Save