mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-15 10:20:47 +00:00
HER-1467 Allow periodic checkpointing and checkpoint-copy-logs to be set/unset during crawl
* CheckpointService.java
reorganize so that checkpoint timedTask is reset whenever interval is reset on a running crawl
* CheckpointSuccessEvent.java, CrawlJob.java
report successes as new kind of ApplicationEvent; propagagte to job log
* BdbModule.java
remove obsolete unconsulted checkpointCopyLogs setting
This commit is contained in:
1 parent
ca32d0d448
commit
9fd648f3ef
4 files changed
+86
-31
No files matched your search
@@ -172,14 +172,6 @@ public class BdbModule implements Lifecycle, Checkpointable, Closeable {
|
||||
this.useSharedCache = useSharedCache;
|
||||
}
|
||||
|
||||
boolean checkpointCopyLogs = true;
|
||||
public boolean getCheckpointCopyLogs() {
|
||||
return checkpointCopyLogs;
|
||||
}
|
||||
public void setCheckpointCopyLogs(boolean checkpointCopyLogs) {
|
||||
this.checkpointCopyLogs = checkpointCopyLogs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Expected number of concurrent threads; used to tune nLockTables
|
||||
* according to JE FAQ
|
||||
|
||||
Reference in new issue
Block a user