Merge pull request #553 from fkautz/pr_out_setting_number_of_processors_to_use_to_max_available

This commit is contained in:
Frederick F. Kautz IV 2015-04-30 19:25:31 -07:00
commit b6d96335e7

View File

@ -259,6 +259,9 @@ func main() {
iodine.SetGlobalState("minio.version", Version)
iodine.SetGlobalState("minio.starttime", time.Now().Format(time.RFC3339))
// set up go max processes
runtime.GOMAXPROCS(runtime.NumCPU())
// set up app
app := cli.NewApp()
app.Name = "minio"