心跳频率降低
This commit is contained in:
4
robot.py
4
robot.py
@@ -317,7 +317,7 @@ class Robot(Job):
|
||||
self.LOG.error(f"wechat_ipad heartbeat heartbeat twice_auto_auth ")
|
||||
except Exception as e:
|
||||
self.LOG.error(f"wechat_ipad heartbeat: {e}")
|
||||
await asyncio.sleep(5)
|
||||
await asyncio.sleep(60)
|
||||
|
||||
async def _heartbeat_task_long(self):
|
||||
"""wechat_ipad心跳任务"""
|
||||
@@ -332,7 +332,7 @@ class Robot(Job):
|
||||
self.LOG.error(f"wechat_ipad heartbeat long twice_auto_auth ")
|
||||
except Exception as e:
|
||||
self.LOG.error(f"wechat_ipad heartbeat long: {e}")
|
||||
await asyncio.sleep(30)
|
||||
await asyncio.sleep(120)
|
||||
|
||||
async def _process_ipad_message(self, message: WxMessage):
|
||||
"""处理wechat_ipad消息"""
|
||||
|
||||
Reference in New Issue
Block a user