🔧 移除 CPU 核数设置

This commit is contained in:
Liang Ding 2019-05-19 21:03:32 +08:00
parent ffd99ff8bd
commit b1194b4763
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D
3 changed files with 0 additions and 4 deletions

View File

@ -63,7 +63,6 @@ type conf struct {
RuntimeMode string // runtime mode (dev/prod) RuntimeMode string // runtime mode (dev/prod)
HTTPSessionMaxAge int // HTTP session max age (in seciond) HTTPSessionMaxAge int // HTTP session max age (in seciond)
StaticResourceVersion string // version of static resources StaticResourceVersion string // version of static resources
MaxProcs int // Go max procs
Locale string // default locale Locale string // default locale
Autocomplete bool // default autocomplete Autocomplete bool // default autocomplete
} }

View File

@ -5,7 +5,6 @@
"RuntimeMode": "dev", "RuntimeMode": "dev",
"HTTPSessionMaxAge": 86400, "HTTPSessionMaxAge": 86400,
"StaticResourceVersion": "${time}", "StaticResourceVersion": "${time}",
"MaxProcs": 4,
"Locale": "zh_CN", "Locale": "zh_CN",
"Autocomplete": true "Autocomplete": true
} }

View File

@ -78,8 +78,6 @@ func init() {
// Main. // Main.
func main() { func main() {
runtime.GOMAXPROCS(conf.Wide.MaxProcs)
initMime() initMime()
handleSignal() handleSignal()