diff --git a/docs/src/main/asciidoc/spring-cloud-consul.adoc b/docs/src/main/asciidoc/spring-cloud-consul.adoc index a176351c..ca2bf052 100644 --- a/docs/src/main/asciidoc/spring-cloud-consul.adoc +++ b/docs/src/main/asciidoc/spring-cloud-consul.adoc @@ -90,6 +90,7 @@ spring: healthCheckInterval: 15s ---- +You can disable the health check by setting `management.health.consul.enabled=false`. ==== Metadata and Consul tags @@ -176,7 +177,7 @@ The Consul Catalog Watch takes advantage of the ability of consul to https://www To change the frequency of when the Config Watch is called change `spring.cloud.consul.config.discovery.catalog-services-watch-delay`. The default value is 1000, which is in milliseconds. The delay is the amount of time after the end of the previous invocation and the start of the next. -To disable the Catalog Watch set `spring.cloud.consul.discovery.catalog-services-watch.enabled=false`. +To disable the Catalog Watch set `spring.cloud.consul.discovery.catalogServicesWatch.enabled=false`. The watch uses a Spring `TaskScheduler` to schedule the call to consul. By default it is a `ThreadPoolTaskScheduler` with a `poolSize` of 1. To change the `TaskScheduler`, create a bean of type `TaskScheduler` named with the `ConsulDiscoveryClientConfiguration.CATALOG_WATCH_TASK_SCHEDULER_NAME` constant.