mxm commented on code in PR #666:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/666#discussion_r1321394405
##########
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:
See here for default `UNSET_VALUE`:
https://github.com/operator-framework/java-operator-sdk/blob/a3fb3ad9ef84ad60e456ac2b3714b070b37e055b/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/retry/GenericRetry.java#L103
which is set to `Long.MAX_VALUE`:
https://github.com/operator-framework/java-operator-sdk/blob/a3fb3ad9ef84ad60e456ac2b3714b070b37e055b/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/retry/GradualRetry.java#L19
--
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]