We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5f1a37 commit aee5d59Copy full SHA for aee5d59
operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ControllerConfiguration.java
@@ -17,6 +17,8 @@
17
18
public interface ControllerConfiguration<R extends HasMetadata> extends ResourceConfiguration<R> {
19
20
+ RateLimiter DEFAULT_RATE_LIMITER = new PeriodRateLimiter();
21
+
22
default String getName() {
23
return ReconcilerUtils.getDefaultReconcilerName(getAssociatedReconcilerClassName());
24
}
@@ -46,7 +48,7 @@ default RetryConfiguration getRetryConfiguration() {
46
48
47
49
50
default RateLimiter getRateLimiter() {
- return new PeriodRateLimiter();
51
+ return DEFAULT_RATE_LIMITER;
52
53
54
/**
0 commit comments