Skip to content

Commit d9e869c

Browse files
authored
docs: fix reconciliation max interval and related issues (#1480)
1 parent c6fc943 commit d9e869c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/documentation/features.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,17 +262,16 @@ automatically triggered even in the absence of other events. See how to override
262262
standard annotation:
263263
264264
```java
265-
@ControllerConfiguration(finalizerName = NO_FINALIZER,
266-
reconciliationMaxInterval = @ReconciliationMaxInterval(
265+
@ControllerConfiguration(maxReconciliationInterval = @MaxReconciliationInterval(
267266
interval = 50,
268267
timeUnit = TimeUnit.MILLISECONDS))
269268
```
270269
271270
The event is not propagated at a fixed rate, rather it's scheduled after each reconciliation. So the
272271
next reconciliation will occur at most within the specified interval after the last reconciliation.
273272

274-
This feature can be turned off by setting `reconciliationMaxInterval`
275-
to [`Constants.NO_RECONCILIATION_MAX_INTERVAL`](https://github.com/java-operator-sdk/java-operator-sdk/blob/442e7d8718e992a36880e42bd0a5c01affaec9df/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/Constants.java#L8-L8)
273+
This feature can be turned off by setting `maxReconciliationInterval`
274+
to [`Constants.NO_MAX_RECONCILIATION_INTERVAL`](https://github.com/java-operator-sdk/java-operator-sdk/blob/main/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/Constants.java#L20-L20)
276275
or any non-positive number.
277276

278277
The automatic retries are not affected by this feature so a reconciliation will be re-triggered

0 commit comments

Comments
 (0)