Commit ddc3d7d5 authored by astaxie's avatar astaxie

beego default set GOMAXPROCS to NumCPU

parent cf60a3f4
......@@ -9,6 +9,7 @@ import (
"net/http/fcgi"
"os"
"path"
"runtime"
"strconv"
)
......@@ -249,5 +250,6 @@ func Run() {
Warn(err)
}
}
runtime.GOMAXPROCS(runtime.NumCPU())
BeeApp.Run()
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment