mirror of
https://github.com/fhmq/hmq.git
synced 2026-04-26 19:48:34 +00:00
config
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
package broker
|
||||
|
||||
const (
|
||||
WorkNum = 2048
|
||||
MaxUser = 1024 * 1024
|
||||
MessagePoolNum = 1024
|
||||
MessagePoolUser = MaxUser / MessagePoolNum
|
||||
MessagePoolMessageNum = MaxUser / MessagePoolNum * 4
|
||||
WorkNum = 2048
|
||||
)
|
||||
|
||||
type Dispatcher struct {
|
||||
|
||||
Reference in New Issue
Block a user