mxm commented on code in PR #666:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/666#discussion_r1321395107


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/FlinkOperatorConfiguration.java:
##########
@@ -220,8 +227,14 @@ private static GenericRetry getRetryConfig(Configuration 
conf) {
                                 .toMillis())
                 .setIntervalMultiplier(
                         conf.getDouble(
-                                KubernetesOperatorConfigOptions
-                                        .OPERATOR_RETRY_INTERVAL_MULTIPLIER));
+                                
KubernetesOperatorConfigOptions.OPERATOR_RETRY_INTERVAL_MULTIPLIER))
+                .setMaxInterval(maxInterval > 0 ? maxInterval : 
Long.MAX_VALUE);

Review Comment:
   If set to `Long.MAX_VALUE`, this default will be applied: 
https://github.com/operator-framework/java-operator-sdk/blob/a3fb3ad9ef84ad60e456ac2b3714b070b37e055b/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/retry/GradualRetry.java#L16



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to