feat: dynamic health test concurrency
Auto-scale test concurrency to ~10% of proxy count, capped by test_concurrency config ceiling (default raised from 5 to 25). Prevents saturating upstream Tor when pool size varies. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ chain:
|
||||
# - www.cloudflare.com
|
||||
# - www.amazon.com
|
||||
# test_timeout: 15 # per-test timeout (seconds)
|
||||
# test_concurrency: 5 # parallel health tests
|
||||
# test_concurrency: 25 # max parallel tests (auto-scales to ~10% of pool)
|
||||
# max_fails: 3 # consecutive fails before eviction
|
||||
# state_file: "" # empty = ~/.cache/s5p/pool.json
|
||||
# report_url: "" # POST dead proxies here (optional)
|
||||
|
||||
Reference in New Issue
Block a user