Jason918 commented on a change in pull request #14038:
URL: https://github.com/apache/pulsar/pull/14038#discussion_r801326161



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/DispatchRateLimiter.java
##########
@@ -169,6 +169,12 @@ private DispatchRate createDispatchRate() {
      * broker-level
      */
     public void updateDispatchRate() {
+        switch (type) {

Review comment:
       Please check all the entrance when this policy updates.
   `DispatchRateLimiter#updateDispatchRate(DispatchRate)`
   and `DispatchRateLimiter#onPoliciesUpdate` are also used.




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