test callback

This commit is contained in:
shoopea 2020-02-05 11:35:31 +08:00
parent 29c6a7a4f5
commit 34d5d9a10c

View File

@ -299,7 +299,7 @@ func MQTGCmdWorker(id int, cmds <-chan TGCommand) {
Body: []byte(j),
})
logOnError(err, "MQTGCmdWorker["+strconv.Itoa(id)+"] : Publishing message.")
//log.Printf("MQTGCmdWorker[" + strconv.Itoa(id) + "] : Message published.")
log.Printf("MQTGCmdWorker[" + strconv.Itoa(id) + "] : Message published.")
clt.Mux.Unlock()
} else {
log.Printf("MQTGCmdWorker["+strconv.Itoa(id)+"] : client %d offline.\n", c.FromUserID64)