Revert "test"

This reverts commit 75e5cab979.
This commit is contained in:
shoopea 2019-06-28 15:56:08 +08:00
parent b9b39932c4
commit 3cd1e6f94a

View File

@ -32,7 +32,6 @@ 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.MQQueue.Name)
m, err := s.MQChannel.Consume(
s.MQQueue.Name, // queue
"", // consumer