fix: call evaluate() in worker mode before checking results

failcount was initialized to 0 and never updated because
evaluate() was skipped, causing all proxies to pass.
This commit is contained in:
Username
2026-02-18 00:16:35 +01:00
parent 6800995361
commit 00952b7947

3
ppf.py
View File

@@ -775,7 +775,8 @@ def worker_main(config):
state = completion_queue.get(timeout=1)
completed += 1
if state.failcount == 0:
success, _ = state.evaluate()
if success:
latency_sec = (state.last_latency_ms / 1000.0) if state.last_latency_ms else 0
proxy_addr = state.proxy
if state.auth: