RocMarshal commented on code in PR #23247:
URL: https://github.com/apache/flink/pull/23247#discussion_r1422316793
##########
flink-core/src/main/java/org/apache/flink/configuration/RestartStrategyOptions.java:
##########
@@ -222,6 +223,19 @@ public class RestartStrategyOptions {
code(RESTART_STRATEGY.key()),
code("exponential-delay"))
.build());
+ @Documentation.OverrideDefault("infinite")
+ public static final ConfigOption<Integer>
RESTART_STRATEGY_EXPONENTIAL_DELAY_ATTEMPTS =
+
ConfigOptions.key("restart-strategy.exponential-delay.attempts-before-reset-backoff")
+ .intType()
+ .defaultValue(Integer.MAX_VALUE)
+ .withDescription(
+ Description.builder()
+ .text(
+ "The number of times that Flink
retries the execution before the job is declared as failed "
+ + "before reset the
backoff to its initial value if %s has been set to %s.",
Review Comment:
`reset` -> `resetting`
--
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]