test
This commit is contained in:
parent
6b320ff0ee
commit
4a0618dcf5
@ -42,7 +42,7 @@ func MQGetMsgWorker(id int, msgs chan<- ChatWarsMessage) {
|
||||
c.Connection.Close()
|
||||
time.Sleep(15 * time.Second)
|
||||
} else {
|
||||
m, err := ch.Consume(
|
||||
m, err := c.Channel.Consume(
|
||||
q.Name, // queue
|
||||
"", // consumer
|
||||
true, // auto-ack
|
||||
|
Loading…
Reference in New Issue
Block a user