Revert "test"

This reverts commit d4175a53cf.
This commit is contained in:
shoopea 2019-06-28 15:55:54 +08:00
parent f33e22a38e
commit 187b90c085

View File

@ -32,7 +32,7 @@ func MQGetMsgWorker(id int, msgs chan<- ChatWarsMessage) {
err = s.Open()
}
log.Printf("MQGetMsgWorker[" + strconv.Itoa(id) + "] : Connected to RabbitMQ")
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Queue name : %s.\n", s.Queue)
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Queue name : %s.\n", s.MQQueue.Name)
m, err := s.MQChannel.Consume(
s.Queue, // queue
"", // consumer