zhuzhurk commented on a change in pull request #9637: [FLINK-13884] Set default 
delay for restart strategies to 1s
URL: https://github.com/apache/flink/pull/9637#discussion_r321957892
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/restart/FailureRateRestartStrategy.java
 ##########
 @@ -92,12 +91,9 @@ public String toString() {
 
        public static FailureRateRestartStrategyFactory 
createFactory(Configuration configuration) throws Exception {
                int maxFailuresPerInterval = 
configuration.getInteger(RestartStrategyOptions.RESTART_STRATEGY_FAILURE_RATE_MAX_FAILURES_PER_INTERVAL);
-               String failuresIntervalString = 
configuration.getString(RestartStrategyOptions.RESTART_STRATEGY_FAILURE_RATE_FAILURE_RATE_INTERVAL);
-               String timeoutString = 
configuration.getString(AkkaOptions.WATCH_HEARTBEAT_INTERVAL);
 
 Review comment:
   I think it's not proper to change the default value of restart delay in the 
"Factor  duration parsing..." commit.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to