Increased speed of idle session cleanups.

This commit is contained in:
Martin Edenhofer 2013-06-23 01:56:31 +02:00
parent d85b8b0797
commit dafb3fa423

View file

@ -298,7 +298,7 @@ EventMachine.run {
client[:websocket].close_websocket client[:websocket].close_websocket
# delete sesstion from client list # delete sesstion from client list
sleep 1 sleep 0.3
@clients.delete(client_id) @clients.delete(client_id)
end end
} }