From 0d2e31c1d6551f5258567e5cc0c4cdabb356ebaf Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 15 Aug 2025 11:04:48 +1000 Subject: [PATCH] Set default webseed host request concurrency to 25 --- webseed-requesting.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webseed-requesting.go b/webseed-requesting.go index 4cc9ccb4..81166b5e 100644 --- a/webseed-requesting.go +++ b/webseed-requesting.go @@ -25,7 +25,8 @@ import ( "github.com/anacrolix/torrent/webseed" ) -var webseedHostRequestConcurrency = initIntFromEnv("TORRENT_WEBSEED_HOST_REQUEST_CONCURRENCY", 10, 0) +// Default is based on experience with CloudFlare. +var webseedHostRequestConcurrency = initIntFromEnv("TORRENT_WEBSEED_HOST_REQUEST_CONCURRENCY", 25, 0) type ( webseedHostKey string -- 2.51.0