diff --git a/spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/services/IntervalCheck.java b/spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/services/IntervalCheck.java index 4bb1850e0a5..9f982e13fcf 100644 --- a/spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/services/IntervalCheck.java +++ b/spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/services/IntervalCheck.java @@ -85,6 +85,7 @@ public void start() { .subscribeOn(this.scheduler) .concatMap((i) -> this.checkAllInstances()) .retryWhen(Retry.backoff(Long.MAX_VALUE, Duration.ofSeconds(1)) + .maxBackoff(maxBackoff) .doBeforeRetry((s) -> log.warn("Unexpected error in {}-check", this.name, s.failure()))) .subscribe(null, (error) -> log.error("Unexpected error in {}-check", name, error)); }