parent
ff8aa3b34d
commit
67fc40e7aa
|
@ -36,7 +36,6 @@ func MQGetMsgWorker(id int, msgs chan<- ChatWarsMessage) {
|
|||
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Connection address : %p.\n", &s.MQConnection)
|
||||
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Channel address : %p.\n", &s.MQChannel)
|
||||
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Queue name : %s.\n", s.Queue)
|
||||
/*
|
||||
q, err := s.MQChannel.QueueDeclare(
|
||||
s.Queue, // name
|
||||
false, // durable
|
||||
|
@ -63,7 +62,6 @@ func MQGetMsgWorker(id int, msgs chan<- ChatWarsMessage) {
|
|||
msgs <- x
|
||||
}
|
||||
}
|
||||
*/
|
||||
log.Printf("MQGetMsgWorker[" + strconv.Itoa(id) + "] : Closing queue.\n")
|
||||
s.Close()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user