hiero-ledger / hiero-ledger/hiero-consensus-node
Remove MeasuredBlockingQueue
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
In a recent PR (https://github.com/hiero-ledger/hiero-consensus-node/pull/22681), we removed the ability to enable metrics in QueueThread configurations as it was not used outside of tests. If we expect to never need this functionality, we should remove all code related to it (`MeasuredBlockingQueue`, `QueueThreadMetricsConfiguration`, `AbstractQueueThreadConfigurationTest.buildShouldCreateQueueThreadThatCanBeMonitoredWithMetrics()`, etc.).
Contributor guide
Research direction
Start by reviewing PR #22681, then search for MeasuredBlockingQueue, QueueThreadMetricsConfiguration, and AbstractQueueThreadConfigurationTest.buildShouldCreateQueueThreadThatCanBeMonitoredWithMetrics(). Remove the unused queue metrics code and related test coverage, and confirm no remaining references or test failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100