From 27cad2827cf6bbc5d50cecc154932dc8b243562b Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 6 May 2019 11:37:51 +0800 Subject: [PATCH] debug --- mq.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/mq.go b/mq.go index 81b66ec..2278f95 100644 --- a/mq.go +++ b/mq.go @@ -28,8 +28,6 @@ func MQSendMsgWorker(id int, msgs <-chan ChatWarsMessage) { failOnError(err, "MQSendMsgWorker["+strconv.Itoa(id)+"] : Failed to declare a queue") for m := range msgs { - log.Printf("MQSendMsgWorker[" + strconv.Itoa(id) + "] : Sending a message.") - b, err := json.Marshal(m) if err != nil { logOnError(err, "MQSendMsgWorker["+strconv.Itoa(id)+"] : Marshaling message.")