mirror of
https://github.com/minio/minio.git
synced 2025-04-01 10:13:42 -04:00
Setting number of processors to use to max available
This commit is contained in:
parent
72395798c8
commit
f59535f052
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