fix: preserve background connection state and durable disconnect logs
This commit is contained in:
@@ -990,8 +990,8 @@ class Engine:
|
||||
def keep_alive(self):
|
||||
if self.demo:
|
||||
return "离线演示无需心跳"
|
||||
self.last_heartbeat = time.monotonic()
|
||||
self.client.call("heartBeatService/keepAlive")
|
||||
self.last_heartbeat = time.monotonic()
|
||||
return "会话心跳已更新"
|
||||
|
||||
@single_flight
|
||||
|
||||
Reference in New Issue
Block a user