mirror of
https://github.com/fhmq/hmq.git
synced 2026-04-26 19:48:34 +00:00
add cluster
This commit is contained in:
@@ -27,7 +27,7 @@ func NewDispatcher() *Dispatcher {
|
||||
}
|
||||
|
||||
func (d *Dispatcher) dispatch() {
|
||||
for i := 0; i < MessagePoolNum; i++ {
|
||||
for i := 0; i < (MessagePoolNum + 2); i++ {
|
||||
go func(idx int) {
|
||||
for {
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user