mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 23:47:16 +02:00
Added TCP keepalive to telnet and webclient, to make sure to (eventually) catch dead connections. Should help #498, but should test on demo before closing.
This commit is contained in:
parent
b8dfce9cef
commit
263092b4c9
3 changed files with 5 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ class ServerSessionHandler(SessionHandler):
|
|||
def validate_sessions(self):
|
||||
"""
|
||||
Check all currently connected sessions (logged in and not)
|
||||
and see if any are dead.
|
||||
and see if any are dead or idle
|
||||
"""
|
||||
tcurr = time.time()
|
||||
reason = _("Idle timeout exceeded, disconnecting.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue