mirror of
https://github.com/minio/minio.git
synced 2025-02-10 05:08:10 -05:00
Merge pull request #553 from fkautz/pr_out_setting_number_of_processors_to_use_to_max_available
This commit is contained in:
commit
b6d96335e7
3
main.go
3
main.go
@ -259,6 +259,9 @@ func main() {
|
|||||||
iodine.SetGlobalState("minio.version", Version)
|
iodine.SetGlobalState("minio.version", Version)
|
||||||
iodine.SetGlobalState("minio.starttime", time.Now().Format(time.RFC3339))
|
iodine.SetGlobalState("minio.starttime", time.Now().Format(time.RFC3339))
|
||||||
|
|
||||||
|
// set up go max processes
|
||||||
|
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||||
|
|
||||||
// set up app
|
// set up app
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = "minio"
|
app.Name = "minio"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user