Gleiphir2769 commented on code in PR #1055:
URL: https://github.com/apache/pulsar-client-go/pull/1055#discussion_r1261908708
##########
pulsar/producer_partition.go:
##########
@@ -489,14 +488,13 @@ func (p *partitionProducer) internalSend(request
*sendRequest) {
// The block chan must be closed when returned with exception
defer request.stopBlock()
- if !p.canAddToQueue(request, uncompressedPayloadSize) {
+ if !p.canAddToQueue(request) {
Review Comment:
`runCallback` is invoked by `canReserveMem` if it's failed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]