adutra commented on code in PR #765:
URL: https://github.com/apache/polaris/pull/765#discussion_r1916915106
##########
service/common/src/main/java/org/apache/polaris/service/ratelimiter/TokenBucketConfiguration.java:
##########
@@ -20,14 +20,9 @@
import java.time.Duration;
-public interface RateLimiterConfiguration {
+public interface TokenBucketConfiguration {
- TokenBucketConfiguration tokenBucket();
+ long requestsPerSecond();
- interface TokenBucketConfiguration {
-
- long requestsPerSecond();
-
- Duration window();
- }
+ Duration window();
Review Comment:
Question for @snazy I guess. If so, I can look into it next.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]