We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a98f494 commit 14eb36fCopy full SHA for 14eb36f
1 file changed
operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/retry/GenericRetry.java
@@ -90,6 +90,10 @@ public GenericRetry setMaxInterval(long maxInterval) {
90
return this;
91
}
92
93
+ public GenericRetry setMaxInterval(Duration maxInterval) {
94
+ return setMaxInterval(maxInterval.toMillis());
95
+ }
96
+
97
public GenericRetry withoutMaxInterval() {
98
this.maxInterval = -1;
99
0 commit comments