diff --git a/hmq.config b/hmq.config index 5d57d0a5..3258bfbe 100644 --- a/hmq.config +++ b/hmq.config @@ -1,5 +1,5 @@ { - "workerNum":40960, + "workerNum": 4096, "port": "1883", "host": "0.0.0.0", "cluster": { diff --git a/main.go b/main.go index a79c52e5..16df8aa1 100644 --- a/main.go +++ b/main.go @@ -9,10 +9,6 @@ import ( log "github.com/cihub/seelog" ) -func init() { - -} - func main() { runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GC()