Skip to content

Commit d28d0d7

Browse files
committed
Fix init
1 parent 3814ab5 commit d28d0d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3044,7 +3044,7 @@ private CompletableFuture<Void> updateSubscriptionsDispatcherRateLimiter() {
30443044
subscriptionCheckFutures.add(FutureUtil.waitForAll(consumerCheckFutures).thenRun(() -> {
30453045
Dispatcher dispatcher = sub.getDispatcher();
30463046
if (dispatcher != null) {
3047-
dispatcher.getRateLimiter().ifPresent(DispatchRateLimiter::updateDispatchRate);
3047+
dispatcher.updateRateLimiter();
30483048
}
30493049
}));
30503050
});

0 commit comments

Comments
 (0)