Jason918 commented on code in PR #15457:
URL: https://github.com/apache/pulsar/pull/15457#discussion_r867289507
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/SubscribeRateLimiter.java:
##########
@@ -140,6 +140,9 @@ private synchronized void
updateSubscribeRate(ConsumerIdentifier consumerIdentif
}
public void onSubscribeRateUpdate(SubscribeRate subscribeRate) {
+ if (this.subscribeRate.equals(subscribeRate)) {
Review Comment:
Could `this.subscribeRate` be null?
--
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]