klion26 commented on a change in pull request #7362: [FLINK-11218][runtime] fix
the default restart stragegy delay value
URL: https://github.com/apache/flink/pull/7362#discussion_r244531867
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/restart/NoOrFixedIfCheckpointingEnabledRestartStrategyFactory.java
##########
@@ -23,7 +23,7 @@
* depending if checkpointing was enabled.
*/
public class NoOrFixedIfCheckpointingEnabledRestartStrategyFactory extends
RestartStrategyFactory {
- private static final long DEFAULT_RESTART_DELAY = 0;
+ private static final long DEFAULT_RESTART_DELAY = 10000L;
Review comment:
Maybe use configuration here is better
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services