0.2.2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user