Rise a bit signalmaster timeout to prevent disconnections

master
Daniel Berteaud 11 years ago
parent c12115de3e
commit 451cfa5e49
  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', 20); io.set('close timeout', 30);
io.set('heartbeat timeout', 10); io.set('heartbeat timeout', 15);
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