remove ack git reply func

This commit is contained in:
Nam Huynh 2022-04-12 17:39:27 +07:00
parent eab463ab57
commit b5f1a7e93e
1 changed files with 1 additions and 5 deletions

View File

@ -18,11 +18,7 @@ func (sv Server) Request(subject string, payload []byte) (*nats.Msg, error) {
// Reply ...
func (sv Server) Reply(msg *nats.Msg, payload []byte) error {
err := sv.instance.Publish(msg.Reply, payload)
// Ack message
// msg.Ack()
return err
return sv.instance.Publish(msg.Reply, payload)
}
// Subscribe ...