fix: raise pool test_timeout and max_fails defaults

Accommodate HTTP CONNECT proxies through Tor (p99 latency >8s) and
reduce pool erosion when the upstream proxy count is low.

- test_timeout: 8 -> 12 (Tor + HTTP CONNECT overhead)
- max_fails: 3 -> 5 (10 min tolerance vs 6 min)
This commit is contained in:
user
2026-02-22 16:39:55 +01:00
parent 051c0ac719
commit a1996b1c9e

View File

@@ -32,8 +32,8 @@ chain:
# state_file: /data/pool-clean.json # state_file: /data/pool-clean.json
# refresh: 300 # refresh: 300
# test_interval: 120 # test_interval: 120
# test_timeout: 8 # test_timeout: 12
# max_fails: 3 # max_fails: 5
# mitm: # MITM-capable proxies # mitm: # MITM-capable proxies
# sources: # sources:
# - url: http://10.200.1.250:8081/proxies/all # - url: http://10.200.1.250:8081/proxies/all
@@ -41,8 +41,8 @@ chain:
# state_file: /data/pool-mitm.json # state_file: /data/pool-mitm.json
# refresh: 300 # refresh: 300
# test_interval: 120 # test_interval: 120
# test_timeout: 8 # test_timeout: 12
# max_fails: 3 # max_fails: 5
# Single proxy pool (legacy, still supported -- becomes pool "default"): # Single proxy pool (legacy, still supported -- becomes pool "default"):
# proxy_pool: # proxy_pool: