lhotari commented on pull request #10384: URL: https://github.com/apache/pulsar/pull/10384#issuecomment-842092685
> If we passed `rateLimitFunction` to both `topicPublishRateLimiterOnMessage` and `topicPublishRateLimiterOnByte`, the `() -> this.enableCnxAutoRead()` will be called twice each `rateTime` @aloyszhang Is it so that it should be called in both cases, but it's some kind of optimization to skip calling it for the other case? If a possible duplicate call is the issue, is that something that should be fixed? -- 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. For queries about this service, please contact Infrastructure at: [email protected]
