mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-09 07:24:41 +00:00
[HER-1823] H3: adding SheetAssociations mid-crawl won't affect already queued CrawlURIs (sheet liveness)
* SheetsOverlayManager.java
(applyOverlaysTo) clear previous info so redundant sheets don't accrete
This commit is contained in:
1 parent
1ce23ecbcd
commit
7909954b8f
1 file changed
+1
@@ -310,6 +310,7 @@ BeanFactoryAware, OverlayMapsSource, ApplicationListener {
|
||||
public void applyOverlaysTo(CrawlURI curi) {
|
||||
curi.setOverlayMapsSource(this);
|
||||
// apply SURT-based overlays
|
||||
curi.getOverlayNames().clear(); // clear previous info
|
||||
String effectiveSurt = SurtPrefixSet.getCandidateSurt(curi.getPolicyBasisUURI());
|
||||
List<String> foundPrefixes = PrefixFinder.findKeys(sheetNamesBySurt, effectiveSurt);
|
||||
for(String prefix : foundPrefixes) {
|
||||
|
||||
Reference in new issue
Block a user