fix: 清掉清单里剩下的死代码、重复样式和评论解析

This commit is contained in:
2026-11-16 15:36:28 +08:00
parent 33640f7da8
commit 1cd7c7f818
12 changed files with 57 additions and 109 deletions
-3
View File
@@ -49,7 +49,6 @@ _STATUS = {STATUS_ALIVE: "可用", STATUS_DEAD: "失效", STATUS_NEW: "待检测
_assign_lock = threading.Lock()
_holds: dict[str, int] = {}
_refresh_lock = threading.Lock()
_stop: threading.Event | None = None
_probe_guard = threading.Lock()
_probe_state = {"running": False, "count": 0, "error": ""}
@@ -680,10 +679,8 @@ def _reset_pool_running() -> None:
def start_proxy_pool() -> threading.Event:
global _stop
_reset_pool_running()
stop = threading.Event()
_stop = stop
def loop() -> None:
if stop.wait(8):