mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-21 09:54:40 +08:00
Fix lint warning
This commit is contained in:
parent
ddf4b1fd3b
commit
b75016e646
2
dist/automate.go
vendored
2
dist/automate.go
vendored
@ -123,7 +123,7 @@ func (p platform) String() string {
|
||||
func numProcs() int {
|
||||
n := runtime.GOMAXPROCS(0)
|
||||
if n == runtime.NumCPU() && n > 1 {
|
||||
n -= 1
|
||||
n--
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user