Commit b75016e6 authored by Matthew Holt's avatar Matthew Holt

Fix lint warning

parent ddf4b1fd
......@@ -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
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment