Typo
This commit is contained in:
parent
af2e2c5011
commit
ef699b2f91
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class ConnectionServer:
|
||||||
connection.close()
|
connection.close()
|
||||||
|
|
||||||
elif idle > 20 * 60 and connection.last_send_time < time.time() - 10:
|
elif idle > 20 * 60 and connection.last_send_time < time.time() - 10:
|
||||||
# Idle more than 20 min and we not send request in last 10 sec
|
# Idle more than 20 min and we have not sent request in last 10 sec
|
||||||
if not connection.ping(): # send ping request
|
if not connection.ping(): # send ping request
|
||||||
connection.close()
|
connection.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue