Change the default for max_goroutines

Closes 

* commit '84ca2f58a8':
  Added a more detailed comment
  Change the default for max_goroutines 
This commit is contained in:
Andrey Meshkov 2020-11-05 21:14:05 +03:00
commit 7e16fda57b
2 changed files with 6 additions and 3 deletions
internal/dnsforward

View file

@ -184,9 +184,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