Gilthoniel commented on code in PR #1385:
URL: https://github.com/apache/pulsar-client-go/pull/1385#discussion_r2154129351


##########
pulsar/negative_backoff_policy.go:
##########
@@ -41,9 +41,11 @@ func (nbp *defaultNackBackoffPolicy) Next(redeliveryCount 
uint32) time.Duration
        minNackTime := 1 * time.Second  // 1sec
        maxNackTime := 10 * time.Minute // 10min
 
-       if redeliveryCount < 0 {

Review Comment:
   Please note that it cannot be below zero as the type is `uint32`.



-- 
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]

Reply via email to