From 84ca2f58a8b4379a3ee6d0bd9f754be20a3ecaea Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Thu, 5 Nov 2020 13:26:13 +0300 Subject: [PATCH] Added a more detailed comment --- internal/home/config.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/internal/home/config.go b/internal/home/config.go index 5499eb61..2f1e7da7 100644 --- a/internal/home/config.go +++ b/internal/home/config.go @@ -120,7 +120,12 @@ var config = configuration{ Ratelimit: 20, RefuseAny: true, AllServers: false, - MaxGoroutines: 100, // maximum concurrent queries + + // set default maximum concurrent queries to 300 + // we introduced a default limit due to this: + // https://github.com/AdguardTeam/AdGuardHome/issues/2015#issuecomment-674041912 + // was later increased to 300 due to https://github.com/AdguardTeam/AdGuardHome/issues/2257 + MaxGoroutines: 300, }, FilteringEnabled: true, // whether or not use filter lists FiltersUpdateIntervalHours: 24,