Github user gemmellr commented on the issue: https://github.com/apache/activemq-artemis/pull/2277 Looks good to me, unsurprisingly. I just tweaked the commit message slightly to fix/reverse part of the threshold statement in the first half. Looking at it further, the same general thing can presumably still occur for each message processed below the threshold until it is replenished but this should avoid the worst of it, and altering that much would need a significant change to those mechanics.
---