From 00952b7947fb1e62781d088adc244dc331ca090d Mon Sep 17 00:00:00 2001 From: Username Date: Wed, 18 Feb 2026 00:16:35 +0100 Subject: [PATCH] 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. --- ppf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ppf.py b/ppf.py index 2fad42e..a4d196a 100644 --- a/ppf.py +++ b/ppf.py @@ -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: