mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
优化更新,每个更新任务增加3秒间隔
This commit is contained in:
@@ -362,6 +362,8 @@ def exec_command(commands):
|
||||
'command': key,
|
||||
'res': p.returncode
|
||||
})
|
||||
# 休息2秒
|
||||
time.sleep(3)
|
||||
return result
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user