mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-27 08:05:46 +00:00
[HER-1546] Springify(5): Update checkpointing to work smoothly with spring-configured crawls
* profile-crawler-beans.cxml*2, migrate-template-crawler-beans.cxml
add CheckpointService as recommended bean
This commit is contained in:
@@ -400,6 +400,13 @@ http://example.example/example
|
||||
<!-- <property name="maxTimeSeconds" value="0" /> -->
|
||||
</bean>
|
||||
|
||||
<!-- CHECKPOINTSERVICE: checkpointing assistance -->
|
||||
<bean id="checkpointService"
|
||||
class="org.archive.crawler.framework.CheckpointService">
|
||||
<!-- <property name="checkpointIntervalMinutes" value="-1"/> -->
|
||||
<!-- <property name="checkpointsDir" value="checkpoints"/> -->
|
||||
</bean>
|
||||
|
||||
<!--
|
||||
OPTIONAL BEANS
|
||||
Uncomment and expand as needed, or if non-default alternate
|
||||
|
||||
@@ -400,6 +400,13 @@ http://example.example/example
|
||||
<!-- <property name="maxTimeSeconds" value="0" /> -->
|
||||
</bean>
|
||||
|
||||
<!-- CHECKPOINTSERVICE: checkpointing assistance -->
|
||||
<bean id="checkpointService"
|
||||
class="org.archive.crawler.framework.CheckpointService">
|
||||
<!-- <property name="checkpointIntervalMinutes" value="-1"/> -->
|
||||
<!-- <property name="checkpointsDir" value="checkpoints"/> -->
|
||||
</bean>
|
||||
|
||||
<!--
|
||||
OPTIONAL BEANS
|
||||
Uncomment and expand as needed, or if non-default alternate
|
||||
|
||||
+7
@@ -387,6 +387,13 @@
|
||||
<!-- <property name="maxDocumentsDownload" value="0" /> -->
|
||||
<!-- <property name="maxTimeSeconds" value="0" /> -->
|
||||
</bean>
|
||||
|
||||
<!-- CHECKPOINTSERVICE: checkpointing assistance -->
|
||||
<bean id="checkpointService"
|
||||
class="org.archive.crawler.framework.CheckpointService">
|
||||
<!-- <property name="checkpointIntervalMinutes" value="-1"/> -->
|
||||
<!-- <property name="checkpointsDir" value="checkpoints"/> -->
|
||||
</bean>
|
||||
|
||||
<!--
|
||||
OPTIONAL BEANS
|
||||
|
||||
Reference in New Issue
Block a user