mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-08-28 17:36:54 +00:00
* ActionDirectory.java
also include 'Fi ' lines -- for recoveries of recoveries
This commit is contained in:
@@ -77,7 +77,7 @@ public class ActionDirectory implements ApplicationContextAware, Lifecycle, Runn
|
||||
ScheduledExecutorService executor;
|
||||
|
||||
/** how long after crawl start to first scan action directory */
|
||||
protected int initialDelay = 30;
|
||||
protected int initialDelay = 10;
|
||||
public int getInitialDelay() {
|
||||
return initialDelay;
|
||||
}
|
||||
@@ -209,7 +209,9 @@ public class ActionDirectory implements ApplicationContextAware, Lifecycle, Runn
|
||||
// apply recovery-log
|
||||
boolean alsoScope = corename.endsWith(".s.recover");
|
||||
try {
|
||||
getFrontier().importRecoverFormat(actionFile, alsoScope, true, false, "Fs ");
|
||||
// consider-included all successes and explicit-includes...
|
||||
getFrontier().importRecoverFormat(actionFile, alsoScope, true, false, "F[si] ");
|
||||
// then retry all adds...
|
||||
getFrontier().importRecoverFormat(actionFile, alsoScope, false, false, "F\\+ ");
|
||||
} catch (IOException ioe) {
|
||||
LOGGER.log(Level.SEVERE,"problem with action file: "+actionFile,ioe);
|
||||
|
||||
Reference in New Issue
Block a user