Fix for HER-1946 Mid-Crawl Adjustment of frontier.queueTotalBudget does not propagate to retired queues.

* WorkQueueFrontier.java
    findEligibleURI() - propagate queueTotalBudget (also sessionBudget) to ensure the settings are current right before checking if queue is over budget
This commit is contained in:
nlevitt
2011-09-09 23:23:15 +00:00
parent 794c41ebd3
commit d3a6dc1f58
@@ -625,6 +625,9 @@ implements Closeable,
// queue has gone 'in process'
readyQ.considerActive();
readyQ.setWakeTime(0); // clear obsolete wake time, if any
readyQ.setSessionBudget(getBalanceReplenishAmount());
readyQ.setTotalBudget(getQueueTotalBudget());
if (readyQ.isOverSessionBudget()) {
deactivateQueue(readyQ);
readyQ.makeDirty();