refactor(scripts): 调整任务完成提示打印时间间隔- 将任务完成提示打印后等待时间从 2 秒调整为 1 秒

-优化了控制台输出的频率,提高了用户体验
This commit is contained in:
danial
2024-12-31 00:49:43 +08:00
parent b7db0892b2
commit d7d065c779

View File

@@ -197,7 +197,7 @@ def run_task():
if datetime.now().second % 10 != 0 and has_been_console:
has_been_console = False
print(f"{datetime.now().strftime('%Y-%m-%d %H:%M:%S')}\t当前运行完成")
time.sleep(2)
time.sleep(1)
def run():