diff --git a/signalmaster/server.js b/signalmaster/server.js index e1b7872..914be1a 100644 --- a/signalmaster/server.js +++ b/signalmaster/server.js @@ -49,6 +49,9 @@ function checkRoom(room,token,user) { } io.configure(function(){ + io.set('close timeout', 20); + io.set('heartbeat timeout', 10); + io.set('heartbeat interval', 5); io.set('authorization', function(data, accept){ if(data.headers.cookie){ data.cookie = cookie_reader.parse(data.headers.cookie);