Skip to content

Commit 507868b

Browse files
authored
Merge pull request #260 from java-operator-sdk/spring-retry-fix
remove obsolete retry config property
2 parents da6f814 + 1968440 commit 507868b

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

spring-boot-starter/src/main/java/io/javaoperatorsdk/operator/springboot/starter/RetryProperties.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ public class RetryProperties {
99
private Long initialInterval;
1010
private Double intervalMultiplier;
1111
private Long maxInterval;
12-
private Long maxElapsedTime;
1312

1413
public Integer getMaxAttempts() {
1514
return maxAttempts;
@@ -46,13 +45,4 @@ public RetryProperties setMaxInterval(Long maxInterval) {
4645
this.maxInterval = maxInterval;
4746
return this;
4847
}
49-
50-
public Long getMaxElapsedTime() {
51-
return maxElapsedTime;
52-
}
53-
54-
public RetryProperties setMaxElapsedTime(Long maxElapsedTime) {
55-
this.maxElapsedTime = maxElapsedTime;
56-
return this;
57-
}
5848
}

spring-boot-starter/src/test/java/io/javaoperatorsdk/operator/springboot/starter/AutoConfigurationTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public void loadsRetryPropertiesProperly() {
4242
assertEquals(1000, retryProperties.getInitialInterval().intValue());
4343
assertEquals(1.5, retryProperties.getIntervalMultiplier().doubleValue());
4444
assertEquals(50000, retryProperties.getMaxInterval().intValue());
45-
assertEquals(100000, retryProperties.getMaxElapsedTime().intValue());
4645
}
4746

4847
@Test

0 commit comments

Comments
 (0)