Apache Nutch is an extensible and scalable web crawler
Remove obsolete properties protocol.plugin.check.blocking and protocol.plugin.check.robots
Sebastian Nagel070a637babed
diff --git a/src/java/org/apache/nutch/fetcher/Fetcher.java b/src/java/org/apache/nutch/fetcher/Fetcher.javaindex aad9ee987..e60b10fa6 100644--- a/src/java/org/apache/nutch/fetcher/Fetcher.java+++ b/src/java/org/apache/nutch/fetcher/Fetcher.java@@ -209,10 +209,6 @@ MapRunnable<Text, CrawlDatum, Text, NutchWritable> {feeder.setTimeLimit(timelimit);feeder.start();- // set non-blocking & no-robots mode for HTTP protocol plugins.- getConf().setBoolean(Protocol.CHECK_BLOCKING, false);- getConf().setBoolean(Protocol.CHECK_ROBOTS, false);-for (int i = 0; i < threadCount; i++) { // spawn threadsFetcherThread t = new FetcherThread(getConf(), getActiveThreads(), fetchQueues,feeder, spinWaiting, lastRequestStart, reporter, errors, segmentName,diff --git a/src/java/org/apache/nutch/protocol/Protocol.java b/src/java/org/apache/nutch/protocol/Protocol.javaindex 0aa5d297f..efd010089 100755--- a/src/java/org/apache/nutch/protocol/Protocol.java+++ b/src/java/org/apache/nutch/protocol/Protocol.java@@ -32,24 +32,6 @@ public interface Protocol extends Pluggable, Configurable {/** The name of the extension point. */public final static String X_POINT_ID = Protocol.class.getName();- /**- * Property name. If in the current configuration this property is set to- * true, protocol implementations should handle "politeness" limits- * internally. If this is set to false, it is assumed that these limits are- * enforced elsewhere, and protocol implementations should not enforce them- * internally.- */- public final static String CHECK_BLOCKING = "protocol.plugin.check.blocking";-- /**- * Property name. If in the current configuration this property is set to- * true, protocol implementations should handle robot exclusion rules- * internally. If this is set to false, it is assumed that these limits are- * enforced elsewhere, and protocol implementations should not enforce them- * internally.- */- public final static String CHECK_ROBOTS = "protocol.plugin.check.robots";-/*** Returns the {@link Content} for a fetchlist entry.*/