mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-22 04:55:33 +03:00
Change the default for max_goroutines #2257
This commit is contained in:
parent
62cc334f46
commit
bc20917840
2 changed files with 1 additions and 3 deletions
|
@ -185,9 +185,6 @@ func (s *Server) Prepare(config *ServerConfig) error {
|
|||
return fmt.Errorf("DNS: invalid custom blocking IP address specified")
|
||||
}
|
||||
}
|
||||
if s.conf.MaxGoroutines == 0 {
|
||||
s.conf.MaxGoroutines = 50
|
||||
}
|
||||
}
|
||||
|
||||
// Set default values in the case if nothing is configured
|
||||
|
|
|
@ -120,6 +120,7 @@ var config = configuration{
|
|||
Ratelimit: 20,
|
||||
RefuseAny: true,
|
||||
AllServers: false,
|
||||
MaxGoroutines: 100, // maximum concurrent queries
|
||||
},
|
||||
FilteringEnabled: true, // whether or not use filter lists
|
||||
FiltersUpdateIntervalHours: 24,
|
||||
|
|
Loading…
Reference in a new issue