You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by cu...@apache.org on 2005/07/13 20:45:40 UTC

svn commit: r216218 - /lucene/nutch/branches/mapred/src/java/org/apache/nutch/crawl/Generator.java

Author: cutting
Date: Wed Jul 13 11:45:38 2005
New Revision: 216218

URL: http://svn.apache.org/viewcvs?rev=216218&view=rev
Log:
Fix number of fetchers to default correctly in main().

Modified:
    lucene/nutch/branches/mapred/src/java/org/apache/nutch/crawl/Generator.java

Modified: lucene/nutch/branches/mapred/src/java/org/apache/nutch/crawl/Generator.java
URL: http://svn.apache.org/viewcvs/lucene/nutch/branches/mapred/src/java/org/apache/nutch/crawl/Generator.java?rev=216218&r1=216217&r2=216218&view=diff
==============================================================================
--- lucene/nutch/branches/mapred/src/java/org/apache/nutch/crawl/Generator.java (original)
+++ lucene/nutch/branches/mapred/src/java/org/apache/nutch/crawl/Generator.java Wed Jul 13 11:45:38 2005
@@ -192,7 +192,7 @@
     File segmentsDir = new File(args[1]);
     long curTime = System.currentTimeMillis();
     long topN = Long.MAX_VALUE;
-    int numFetchers = 1;
+    int numFetchers = -1;
 
     for (int i = 2; i < args.length; i++) {
       if ("-topN".equals(args[i])) {