mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-09 07:24:41 +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:
1 parent
794c41ebd3
commit
d3a6dc1f58
1 file changed
+3
@@ -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