mirror of
https://github.com/coredns/coredns.git
synced 2025-10-26 15:54:16 -04:00
Remove -cpu flag (#2793)
The -cpu flag is a weird one (and copied originally from Caddy), it basically sets GOMAXPROCS which can be *easily* done by just setting that environment variable. Also with systemd and containerized env you set this externally *anyway*, so there is little use to do this again in the binary. Also the option's help was confusing (i.e. percentage of what?). Remove the option and supporting files. Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -24,9 +24,6 @@ Available options:
|
||||
: specify Corefile to load, if not given CoreDNS will look for a `Corefile` in the current
|
||||
directory.
|
||||
|
||||
**-cpu** **CAP**
|
||||
: specify maximum CPU capacity in percent.
|
||||
|
||||
**-dns.port** **PORT**
|
||||
: override default port (53) to listen on.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user