加入debug日志
This commit is contained in:
4
robot.py
4
robot.py
@@ -298,7 +298,7 @@ class Robot(Job):
|
||||
async def _heartbeat_task(self):
|
||||
"""wechat_ipad心跳任务"""
|
||||
self.LOG.info("开启wechat_ipad心跳!")
|
||||
while self.ipad_running:
|
||||
while True:
|
||||
try:
|
||||
success = await self.ipad_bot.heartbeat()
|
||||
if success:
|
||||
@@ -312,7 +312,7 @@ class Robot(Job):
|
||||
async def _heartbeat_task_long(self):
|
||||
"""wechat_ipad心跳任务"""
|
||||
self.LOG.info("开启wechat_ipad长连接心跳!")
|
||||
while self.ipad_running:
|
||||
while True:
|
||||
try:
|
||||
success = await self.ipad_bot.heartbeat_long()
|
||||
if success:
|
||||
|
||||
Reference in New Issue
Block a user