fix ws bug

This commit is contained in:
zhouyuyan
2017-09-08 16:22:27 +08:00
parent 7d6fcb7d65
commit 83b6934621
2 changed files with 1 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
{
"workerNum":40960,
"workerNum": 4096,
"port": "1883",
"host": "0.0.0.0",
"cluster": {

View File

@@ -9,10 +9,6 @@ import (
log "github.com/cihub/seelog"
)
func init() {
}
func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
runtime.GC()