mirror of
https://git.oceanpay.cc/danial/kami_itunes_third_api.git
synced 2025-12-18 22:20:08 +00:00
refactor(scripts): 调整任务完成提示打印时间间隔- 将任务完成提示打印后等待时间从 2 秒调整为 1 秒
-优化了控制台输出的频率,提高了用户体验
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user