Use NumCPU and not GOMAXPROCS

This commit is contained in:
Dane Everitt
2020-07-31 21:31:53 -07:00
parent 5366d0f652
commit f889a193bf
3 changed files with 3 additions and 3 deletions

View File

@@ -304,7 +304,7 @@ func (c *Configuration) EnsureFilePermissions() error {
return errors.WithStack(err)
}
pool := workerpool.New(runtime.GOMAXPROCS(0))
pool := workerpool.New(runtime.NumCPU())
for _, file := range files {
f := file