satishd commented on code in PR #15820: URL: https://github.com/apache/kafka/pull/15820#discussion_r1623765428
########## core/src/main/java/kafka/log/remote/RemoteLogManager.java: ########## @@ -239,6 +244,13 @@ private void removeMetrics() { remoteStorageReaderThreadPool.removeMetrics(); } + /** + * Returns the timeout for the RLM Tasks to wait for the quota to be available + */ + Duration quotaTimeout() { + return Duration.ofSeconds(1); Review Comment: Can you use the declared constant value? -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org