1
0
mirror of https://github.com/dani/vroom.git synced 2024-07-02 12:13:12 +02:00

Rise a bit signalmaster timeout to prevent disconnections

This commit is contained in:
Daniel Berteaud 2014-06-28 15:49:03 +02:00
parent c12115de3e
commit 451cfa5e49

View File

@ -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){