Skip to content

Commit

Permalink
fix ws bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouyuyan committed Sep 8, 2017
1 parent 7d6fcb7 commit 83b6934
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion hmq.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"workerNum":40960,
"workerNum": 4096,
"port": "1883",
"host": "0.0.0.0",
"cluster": {
Expand Down
4 changes: 0 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ import (
log "github.com/cihub/seelog"
)

func init() {

}

func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
runtime.GC()
Expand Down

0 comments on commit 83b6934

Please sign in to comment.