parent
38b611e7ca
commit
db0b7b7087
@ -33,10 +33,9 @@ func MQGetMsgWorker(id int, msgs chan<- ChatWarsMessage) {
|
||||
}
|
||||
//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 address : %p.\n", &s.MQQueue)
|
||||
/*
|
||||
m, err := s.MQChannel.Consume(
|
||||
s.MQQueue.Name, // queue
|
||||
s.Queue, // queue
|
||||
"", // consumer
|
||||
true, // auto-ack
|
||||
false, // exclusive
|
||||
|
Loading…
Reference in New Issue
Block a user