xtn-tools-pro 1.0.1.1.3__py3-none-any.whl → 1.0.1.1.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- xtn_tools_pro/task_pro/go_fun_v3.py +4 -12
- {xtn_tools_pro-1.0.1.1.3.dist-info → xtn_tools_pro-1.0.1.1.5.dist-info}/METADATA +1 -1
- {xtn_tools_pro-1.0.1.1.3.dist-info → xtn_tools_pro-1.0.1.1.5.dist-info}/RECORD +7 -7
- {xtn_tools_pro-1.0.1.1.3.dist-info → xtn_tools_pro-1.0.1.1.5.dist-info}/LICENSE +0 -0
- {xtn_tools_pro-1.0.1.1.3.dist-info → xtn_tools_pro-1.0.1.1.5.dist-info}/WHEEL +0 -0
- {xtn_tools_pro-1.0.1.1.3.dist-info → xtn_tools_pro-1.0.1.1.5.dist-info}/entry_points.txt +0 -0
- {xtn_tools_pro-1.0.1.1.3.dist-info → xtn_tools_pro-1.0.1.1.5.dist-info}/top_level.txt +0 -0
@@ -139,7 +139,8 @@ class GoFunTaskV3:
|
|
139
139
|
go_task_fun_cnt += 1
|
140
140
|
logger.info(f"第{go_task_fun_cnt}次,进程数:{processes_num},线程数:{thread_num},等待{restart_time}秒强制下一次")
|
141
141
|
|
142
|
-
elif self.manager_info["gofun_kill_status"] and go_process_list
|
142
|
+
elif self.manager_info["gofun_kill_status"] and go_process_list or self.manager_info[
|
143
|
+
"gofun_kill_status_qz"]:
|
143
144
|
# 需kill
|
144
145
|
logger.info("检测到关闭指令,正在关闭gofun进程...")
|
145
146
|
for p in go_process_list:
|
@@ -147,6 +148,7 @@ class GoFunTaskV3:
|
|
147
148
|
p.join()
|
148
149
|
go_process_list = []
|
149
150
|
go_task_status_error = 0
|
151
|
+
self.manager_info["gofun_kill_status_qz"] = False
|
150
152
|
logger.info("检测到关闭指令,关闭gofun成功!!!")
|
151
153
|
|
152
154
|
elif not self.manager_info["gofun_kill_status"] and go_process_list:
|
@@ -155,18 +157,8 @@ class GoFunTaskV3:
|
|
155
157
|
logger.info("检测到已达强制重启间隔,正在重启...")
|
156
158
|
self.manager_info["gofun_kill_status"] = True
|
157
159
|
|
158
|
-
if self.manager_info["gofun_kill_status_qz"]:
|
159
|
-
for p in go_process_list:
|
160
|
-
# p.terminate()
|
161
|
-
p.join()
|
162
|
-
go_process_list = []
|
163
|
-
go_task_status_error = 0
|
164
|
-
logger.info("检测到强制关闭指令,关闭gofun成功!!!")
|
165
|
-
self.manager_info["gofun_kill_status_qz"] = False
|
166
|
-
|
167
|
-
|
168
160
|
logger.info(
|
169
|
-
f"主线程正常...进程数:{len(go_process_list)}...gofun(True不存在|False正常):{self.manager_info['gofun_kill_status']}")
|
161
|
+
f"主线程正常...进程数:{len(go_process_list)}...gofun(True不存在|False正常):{self.manager_info['gofun_kill_status']}...qz:{self.manager_info['gofun_kill_status_qz']}")
|
170
162
|
time.sleep(10)
|
171
163
|
|
172
164
|
def __get_external_ip(self):
|
@@ -51,7 +51,7 @@ xtn_tools_pro/task_pro/__init__.py,sha256=nK3U47hWwE1H875ieEToH9r-jzXHS-PXk8cDst
|
|
51
51
|
xtn_tools_pro/task_pro/go_fun.py,sha256=hWEt2uJ9FCvJH7PhVZttS-11A7J6zbRKwX7c5YLYQag,19144
|
52
52
|
xtn_tools_pro/task_pro/go_fun_air_v1.py,sha256=25gHmW5aAV6nMY9Y6-wD7uQ_wqE39dr-eaegqVbYKM8,11035
|
53
53
|
xtn_tools_pro/task_pro/go_fun_v2.py,sha256=SgcXgtEBGSVL1V2LyqO0z8Md2H8JZxucYrLLIwqtiLM,18489
|
54
|
-
xtn_tools_pro/task_pro/go_fun_v3.py,sha256=
|
54
|
+
xtn_tools_pro/task_pro/go_fun_v3.py,sha256=wZ96D_xmkQZ0SIn_978syyGtZZmEEvJEkwV-flckSDg,19523
|
55
55
|
xtn_tools_pro/utils/__init__.py,sha256=I1_n_NP23F2lBqlF4EOlnOdLYxM8M4pbn63UhJN1hRE,418
|
56
56
|
xtn_tools_pro/utils/crypto.py,sha256=fyqno82Tw8LeF5i8YiEpjPI3oswsqTeWE5Lc9M2ef68,4603
|
57
57
|
xtn_tools_pro/utils/file_utils.py,sha256=obaBP7CaBCsXxzqGeWzV2l0yw7vicgKOaXzmpMV8ips,2567
|
@@ -62,9 +62,9 @@ xtn_tools_pro/utils/set_data.py,sha256=BzCLbEDO83csDHBey8kP7SoE6kx6EjqE7OqRBY7k8
|
|
62
62
|
xtn_tools_pro/utils/shell.py,sha256=2SeC620Fj2Gi4bSWmr6w9-OjOBR1MB_OfTEz5HIwK-k,2940
|
63
63
|
xtn_tools_pro/utils/sql.py,sha256=EAKzbkZP7Q09j15Gm6o0_uq0qgQmcCQT6EAawbpp4v0,6263
|
64
64
|
xtn_tools_pro/utils/time_utils.py,sha256=TUtzG61PeVYXhaQd6pBrXAdlz7tBispNIRQRcGhE2No,4859
|
65
|
-
xtn_tools_pro-1.0.1.1.
|
66
|
-
xtn_tools_pro-1.0.1.1.
|
67
|
-
xtn_tools_pro-1.0.1.1.
|
68
|
-
xtn_tools_pro-1.0.1.1.
|
69
|
-
xtn_tools_pro-1.0.1.1.
|
70
|
-
xtn_tools_pro-1.0.1.1.
|
65
|
+
xtn_tools_pro-1.0.1.1.5.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
66
|
+
xtn_tools_pro-1.0.1.1.5.dist-info/METADATA,sha256=_oLKgDCObrNU-rt15fShnizPUAGdeQuYAl4R-KFj9U8,545
|
67
|
+
xtn_tools_pro-1.0.1.1.5.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
68
|
+
xtn_tools_pro-1.0.1.1.5.dist-info/entry_points.txt,sha256=t8CtXWOgw7nRDW3XNlZh8MT_P4l8EzsFnyWi5b3ovrc,68
|
69
|
+
xtn_tools_pro-1.0.1.1.5.dist-info/top_level.txt,sha256=jyB3FLDEr8zE1U7wHczTgIbvUpALhR-ULF7RVEO7O2U,14
|
70
|
+
xtn_tools_pro-1.0.1.1.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|