Update ConsulInboundChannelAdapter scheduling rate. Addresses #95
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user