fix ws bug

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

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"workerNum":40960, "workerNum": 4096,
"port": "1883", "port": "1883",
"host": "0.0.0.0", "host": "0.0.0.0",
"cluster": { "cluster": {
-4
View File
@@ -9,10 +9,6 @@ import (
log "github.com/cihub/seelog" log "github.com/cihub/seelog"
) )
func init() {
}
func main() { func main() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())
runtime.GC() runtime.GC()