Revert "test"

This reverts commit be6ad4b524.
This commit is contained in:
shoopea 2019-06-28 15:55:50 +08:00
parent 0614219c3f
commit f33e22a38e

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)+"] : Session address : %p.\n", &s)
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Queue name : %s.\n", s.Queue)
m, err := s.MQChannel.Consume(
s.Queue, // queue
"", // consumer