This commit is contained in:
2025-11-30 09:21:14 +08:00
parent 52597178a8
commit 5893efb3d5

View File

@@ -819,13 +819,13 @@ def main():
pass
break
if is_forbidden_time():
logger.info("进入禁跑时段,停止当前批次,等待5分钟后清理指纹浏览器")
logger.info("进入禁跑时段,停止当前批次,等待1分钟后清理指纹浏览器")
stop_event.set()
try:
executor.shutdown(wait=True)
except Exception:
pass
time.sleep(300)
time.sleep(60)
cleanup_all_browsers()
wait_until_out_of_forbidden()
break