Skip to content

Commit

Permalink
Restore the early return
Browse files Browse the repository at this point in the history
  • Loading branch information
BewareMyPower committed Feb 16, 2023
1 parent 94c2fba commit b25d861
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pulsar/consumer_partition.go
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ func (pc *partitionConsumer) internalAck(req *ackRequest) {
pc.log.WithError(err).Error("Ack with response error")
req.err = err
}
return
}

err := pc.client.rpcClient.RequestOnCnxNoWait(pc._getConn(), pb.BaseCommand_ACK, cmdAck)
Expand Down

0 comments on commit b25d861

Please sign in to comment.