心跳频率降低
This commit is contained in:
2
robot.py
2
robot.py
@@ -314,7 +314,6 @@ class Robot(Job):
|
|||||||
self.LOG.debug("心跳进行中")
|
self.LOG.debug("心跳进行中")
|
||||||
else:
|
else:
|
||||||
self.LOG.warning("心跳失败")
|
self.LOG.warning("心跳失败")
|
||||||
self.LOG.error(f"wechat_ipad heartbeat heartbeat twice_auto_auth ")
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.LOG.error(f"wechat_ipad heartbeat: {e}")
|
self.LOG.error(f"wechat_ipad heartbeat: {e}")
|
||||||
await asyncio.sleep(60)
|
await asyncio.sleep(60)
|
||||||
@@ -329,7 +328,6 @@ class Robot(Job):
|
|||||||
self.LOG.debug("长连接心跳进行中")
|
self.LOG.debug("长连接心跳进行中")
|
||||||
else:
|
else:
|
||||||
self.LOG.warning("长连接心跳失败")
|
self.LOG.warning("长连接心跳失败")
|
||||||
self.LOG.error(f"wechat_ipad heartbeat long twice_auto_auth ")
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.LOG.error(f"wechat_ipad heartbeat long: {e}")
|
self.LOG.error(f"wechat_ipad heartbeat long: {e}")
|
||||||
await asyncio.sleep(120)
|
await asyncio.sleep(120)
|
||||||
|
|||||||
Reference in New Issue
Block a user