Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Robots.txt is now reused after one day. See forum-topic: http://forum.yacy-websuche.de/viewtopic.php?f=5&t=1669&p=13565#p13565

shostakovich1f37cc61073a
diff --git a/source/de/anomic/crawler/RobotsTxt.java b/source/de/anomic/crawler/RobotsTxt.java
index 480bfafbc..a8ad146da 100644
--- a/source/de/anomic/crawler/RobotsTxt.java
+++ b/source/de/anomic/crawler/RobotsTxt.java
@@ -150,7 +150,7 @@ public class RobotsTxt {
}
if (robotsTxt4Host != null &&
robotsTxt4Host.getLoadedDate() != null &&
- System.currentTimeMillis() - robotsTxt4Host.getLoadedDate().getTime() <= 7*24*60*60*1000) {
+ System.currentTimeMillis() - robotsTxt4Host.getLoadedDate().getTime() <= 1*24*60*60*1000) {
return robotsTxt4Host;
}