lamber-ken 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_r244532486
 
 

 ##########
 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:
   @klion26 thanks for review, this is default value, no need use configuration 
as 
[restart_strategies](https://ci.apache.org/projects/flink/flink-docs-release-1.7/dev/restart_strategies.html)
  doc says, it's value is 10000L.
   
   

----------------------------------------------------------------
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

Reply via email to