You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/05/06 14:03:28 UTC

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #15457: [broker]Fix subscribeRateLimiter not close

poorbarcode commented on code in PR #15457:
URL: https://github.com/apache/pulsar/pull/15457#discussion_r866861957


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java:
##########
@@ -446,13 +442,21 @@ public void publishMessage(ByteBuf headersAndPayload, PublishContext publishCont
     }
 
     public void updateSubscribeRateLimiter() {

Review Comment:
   +1
   
   All other changes to `subscribeRateLimiter ` have already added synchronized lock.
   
   This is a question left over from the last PR #14890



-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org