mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-29 00:55:53 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user