Skip to content

Commit

Permalink
fix for bad full domain crawl depth adoption
Browse files Browse the repository at this point in the history
(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
  • Loading branch information
orbiter committed Nov 30, 2007
1 parent f645408 commit ea81d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htroot/WatchCrawler_p.java
Expand Up @@ -112,7 +112,7 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve

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"));
Expand Down

0 comments on commit ea81d97

Please sign in to comment.