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
pull/1/head
orbiter 17 years ago
parent f645408ae9
commit ea81d97cfc

@ -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"));

Loading…
Cancel
Save