chore(backend_server.py): set Client.last_seen on message receive
This commit is contained in:
@@ -145,6 +145,8 @@ class BackendServer:
|
|||||||
self.logger.debug(f"[>] Sending ACK to {client}")
|
self.logger.debug(f"[>] Sending ACK to {client}")
|
||||||
client.outbound += ack
|
client.outbound += ack
|
||||||
|
|
||||||
|
# set last seen
|
||||||
|
client.last_seen = time.time()
|
||||||
else:
|
else:
|
||||||
self._disconnect(client)
|
self._disconnect(client)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user