test
This commit is contained in:
parent
4fe2eb5b37
commit
c79a99313d
4
mq.go
4
mq.go
@ -42,9 +42,7 @@ func MQSendMsgWorker(id int, msgs <-chan ChatWarsMessage) {
|
|||||||
ContentType: "application/json",
|
ContentType: "application/json",
|
||||||
Body: []byte(b),
|
Body: []byte(b),
|
||||||
})
|
})
|
||||||
if err != nil {
|
logOnError(err, "MQSendMsgWorker["+strconv.Itoa(id)+"] : Publishing message.")
|
||||||
logOnError(err, "MQSendMsgWorker["+strconv.Itoa(id)+"] : Publishing message.")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user