Attribute slow-consumer-check-period is in minutes but {{SlowConsumerReaperRunnable} thread is scheduled as it's configured with seconds.
Problem is in QueueImpl.scheduleSlowConsumerReaper method:
slowConsumerReaperFuture = scheduledExecutor.scheduleWithFixedDelay(slowConsumerReaperRunnable, settings.getSlowConsumerCheckPeriod(), settings.getSlowConsumerCheckPeriod(), TimeUnit.SECONDS);
contains TimeUnit.SECONDS instead of TimeUnit.MINUTES.
I tried to debug it and can see that settings.getSlowConsumerCheckPeriod() returns 1 which is in minutes. This seems to be easy fix.
- is related to
-
JBEAP-9701 Incorrect time unit in description of attribute slow-consumer-check-period
- Verified
-
WFLY-8610 Incorrect time unit in description of attribute slow-consumer-check-period
- Closed
- relates to
-
ARTEMIS-1001 Loading...