Update ConsulInboundChannelAdapter scheduling rate. Addresses #95

This commit is contained in:
Jeff MAURY
2015-09-28 10:02:38 +02:00
parent 1e129d37fe
commit 476ff255c2

View File

@@ -59,7 +59,7 @@ public class ConsulInboundChannelAdapter extends MessageProducerSupport {
protected void doStart() {
}
@Scheduled(fixedDelayString = "${spring.cloud.consul.bus.eventDelay:10}")
@Scheduled(fixedDelayString = "${spring.cloud.consul.bus.eventDelay:30000}")
public void getEvents() throws IOException {
List<Event> events = eventService.watch();
for (Event event : events) {