程序优化

This commit is contained in:
dongchangxi committed 2023-11-10 16:19:16 +08:00
1 parent 2c036235a6
commit 3197efd6a3
3 files changed
+42 -3

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ def get_task_distributed():
#R11 R12的主机 可以执行step1 2 3 的任务
#如果R11 R12的主机目前没有正在执行step2,则优先处理step2,
# print("次数",is_run_stepx_nums("step2"))
if is_run_stepx_nums("step2") < 2:
if is_run_stepx_nums("step2") < 200000:
resultData = need_run_step2()
if resultData != "no":
resultData["hostname"] = hostname