mirror of
https://github.com/pgsty/minio.git
synced 2026-07-29 17:06:20 +03:00
Setting number of processors to use to max available
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user