This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 2a73877 Camel-Hystrix: Fixed CS 2a73877 is described below commit 2a73877a681d7e2c12e58735e4f1eac3c9953d88 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Jan 23 14:51:36 2020 +0100 Camel-Hystrix: Fixed CS --- .../camel/component/hystrix/metrics/HystrixEventStreamService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-hystrix/src/main/java/org/apache/camel/component/hystrix/metrics/HystrixEventStreamService.java b/components/camel-hystrix/src/main/java/org/apache/camel/component/hystrix/metrics/HystrixEventStreamService.java index 9956e20..136244f 100644 --- a/components/camel-hystrix/src/main/java/org/apache/camel/component/hystrix/metrics/HystrixEventStreamService.java +++ b/components/camel-hystrix/src/main/java/org/apache/camel/component/hystrix/metrics/HystrixEventStreamService.java @@ -39,16 +39,16 @@ import org.slf4j.LoggerFactory; @ManagedResource(description = "Managed Hystrix EventStreamService") public class HystrixEventStreamService extends ServiceSupport implements StaticService, HystrixMetricsPoller.MetricsAsJsonPollerListener { - private static final Logger LOG = LoggerFactory.getLogger(HystrixEventStreamService.class); - public static final int METRICS_QUEUE_SIZE = 1000; + private static final Logger LOG = LoggerFactory.getLogger(HystrixEventStreamService.class); private int delay = 500; private int queueSize = METRICS_QUEUE_SIZE; private HystrixMetricsPoller poller; // use a queue with a upper limit to avoid storing too many metrics private Queue<String> queue; + public int getDelay() { return delay; }