Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-1067 Nutch-default configuration directives missing

Markus Jelsma7ea9bd77e367
diff --git a/conf/nutch-default.xml b/conf/nutch-default.xml
index e055cdc16..3a7f46a29 100644
--- a/conf/nutch-default.xml
+++ b/conf/nutch-default.xml
@@ -704,6 +704,24 @@
</description>
</property>
+<property>
+ <name>fetcher.throughput.threshold.pages</name>
+ <value>-1</value>
+ <description>The threshold of minimum pages per second. If the fetcher downloads less
+ pages per second than the configured threshold, the fetcher stops, preventing slow queue's
+ from stalling the throughput. This threshold must be an integer. This can be useful when
+ fetcher.timelimit.mins is hard to determine. The default value of -1 disables this check.
+ </description>
+</property>
+
+<property>
+ <name>fetcher.throughput.threshold.retries</name>
+ <value>5</value>
+ <description>The number of times the fetcher.throughput.threshold is allowed to be exceeded.
+ This settings prevents accidental slow downs from immediately killing the fetcher thread.
+ </description>
+</property>
+
<!-- moreindexingfilter plugin properties -->
<property>