Skip to content

Commit

Permalink
[cleanup][broker] Remove legacy code (apache#18330)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloyszhang authored and lifepuzzlefun committed Dec 9, 2022
1 parent c34589b commit b12bc2c
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -937,15 +937,6 @@ protected void enableProducerReadForPublishRateLimiting() {
}
}

protected void enableProducerReadForPublishBufferLimiting() {
if (producers != null) {
producers.values().forEach(producer -> {
producer.getCnx().cancelPublishBufferLimiting();
producer.getCnx().enableCnxAutoRead();
});
}
}

protected void disableProducerRead() {
if (producers != null) {
producers.values().forEach(producer -> producer.getCnx().disableCnxAutoRead());
Expand Down

0 comments on commit b12bc2c

Please sign in to comment.