Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
1.5.3
-
None
-
None
Description
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.
Attachments
Issue Links
- relates to
-
ARTEMIS-504 Inconsistent time unit on scheduling slow consumer reaper thread between documentation and source code
- Closed
- links to