mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-03 23:09:57 -05:00
Fix lint warning
This commit is contained in:
parent
ddf4b1fd3b
commit
b75016e646
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue