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