thetumbled commented on code in PR #25502:
URL: https://github.com/apache/pulsar/pull/25502#discussion_r3077808698


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/PublishRateLimiterImpl.java:
##########
@@ -189,6 +201,9 @@ protected void updateTokenBuckets(long 
publishThrottlingRateInMsg, long publishT
         } else {
             tokenBucketOnByte = null;
         }
+        if (tokenBucketOnByte == null && tokenBucketOnMessage == null) {

Review Comment:
   good point, I have updated the implementation.



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