fix: 清掉清单里剩下的死代码、重复样式和评论解析
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user