parent
0614219c3f
commit
f33e22a38e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user