Up CatalogWatch from 10 ms to 30 s.

fixes gh-94
This commit is contained in:
Spencer Gibb
2015-09-25 10:31:44 -06:00
parent 9ba816c44f
commit f227a4a92e

View File

@@ -51,7 +51,7 @@ public class ConsulCatalogWatch implements ApplicationEventPublisherAware {
this.publisher = publisher;
}
@Scheduled(fixedDelayString = "${spring.cloud.consul.discovery.catalogServicesWatchDelay:10}")
@Scheduled(fixedDelayString = "${spring.cloud.consul.discovery.catalogServicesWatchDelay:30000}")
public void catalogServicesWatch() {
long index = -1;
if (catalogServicesIndex.get() != null) {