Increased speed of idle session cleanups.
This commit is contained in:
parent
d85b8b0797
commit
dafb3fa423
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue