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: