summaryrefslogtreecommitdiff
path: root/htroot
diff options
context:
space:
mode:
authororbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2007-11-30 00:37:58 +0000
committerorbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2007-11-30 00:37:58 +0000
commitea81d97cfc6bc616e21750179a9228d6b7e25d46 (patch)
treef27207d1fef6e0e44b160c7cddec24e7ef46f3d0 /htroot
parentf645408ae9fadec29e8fc5bc05ed3bdf82adc244 (diff)
fix for bad full domain crawl depth adoption
(maximum depth is 8, because higher depth will cause that remote crawls do not work) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4240 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot')
-rw-r--r--htroot/WatchCrawler_p.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/htroot/WatchCrawler_p.java b/htroot/WatchCrawler_p.java
index e2553e75e..b3ec7d1bf 100644
--- a/htroot/WatchCrawler_p.java
+++ b/htroot/WatchCrawler_p.java
@@ -112,7 +112,7 @@ public class WatchCrawler_p {
int newcrawlingdepth = Integer.parseInt(post.get("crawlingDepth", "8"));
env.setConfig("crawlingDepth", Integer.toString(newcrawlingdepth));
- if ((fullDomain) && (newcrawlingdepth < 8)) newcrawlingdepth = 8;
+ if ((fullDomain) && (newcrawlingdepth > 8)) newcrawlingdepth = 8;
boolean crawlingIfOlderCheck = post.get("crawlingIfOlderCheck", "off").equals("on");
int crawlingIfOlderNumber = Integer.parseInt(post.get("crawlingIfOlderNumber", "-1"));