Skip to content

Commit 06e65a8

Browse files
committed
small code improvement
1 parent 8c1eb21 commit 06e65a8

File tree

1 file changed

+1
-3
lines changed
  • operator-framework/src/main/java/com/github/containersolutions/operator/processing/retry

1 file changed

+1
-3
lines changed

operator-framework/src/main/java/com/github/containersolutions/operator/processing/retry/GenericRetry.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public static GenericRetry noRetry() {
2222

2323
public static GenericRetry every10second10TimesRetry() {
2424
return new GenericRetry()
25+
.withLinearRetry()
2526
.setMaxAttempts(10)
26-
.setIntervalMultiplier(1)
2727
.setInitialInterval(10000);
2828
}
2929

@@ -95,6 +95,4 @@ public GenericRetry withLinearRetry() {
9595
this.intervalMultiplier = 1;
9696
return this;
9797
}
98-
99-
10098
}

0 commit comments

Comments
 (0)