mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-23 06:05:46 +00:00
check that sourceTag of CrawlURI actually matches configured sourceTag
This commit is contained in:
@@ -83,6 +83,7 @@ public class SourceQuotaEnforcer extends Processor {
|
||||
@Override
|
||||
protected boolean shouldProcess(CrawlURI curi) {
|
||||
return curi.containsDataKey(CoreAttributeConstants.A_SOURCE_TAG)
|
||||
&& sourceTag.equals(curi.getSourceTag())
|
||||
&& statisticsTracker.getSourceStats(curi.getSourceTag()) != null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user