This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
commit fae42b01c1235e6af6437929cbd265b3b1f3455b Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue May 26 16:15:01 2020 +0200 CAMEL-15081: Polished --- .../camel/spring/boot/health/HealthCheckServiceAutoConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/health/HealthCheckServiceAutoConfiguration.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/health/HealthCheckServiceAutoConfiguration.java index d748e62..5e46d7e 100644 --- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/health/HealthCheckServiceAutoConfiguration.java +++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/health/HealthCheckServiceAutoConfiguration.java @@ -51,7 +51,7 @@ public class HealthCheckServiceAutoConfiguration { Optional.ofNullable(configuration.getCheckInterval()) .map(TimePatternConverter::toMilliSeconds) - .ifPresent(interval -> service.setCheckInterval(interval, TimeUnit.MILLISECONDS)); + .ifPresent(interval -> service.setCheckInterval(interval)); configuration.getChecks().entrySet().stream() .filter(entry -> Objects.nonNull(entry.getValue().getOptions()))