Permalink
Browse files

Refresh recrawl job profile threshold date like other default profiles

  • Loading branch information...
luccioman committed Jan 15, 2018
1 parent b712a06 commit 9624516bf837c93696cb1196ea0b7b77d16979ef
Showing with 4 additions and 0 deletions.
  1. +4 −0 source/net/yacy/search/Switchboard.java
@@ -2533,6 +2533,10 @@ public boolean cleanupJob() {
continue;
}
boolean insert = false;
if ( selentry.name().equals(CrawlSwitchboard.CRAWL_PROFILE_RECRAWL_JOB) ) {
selentry.put(CrawlProfile.CrawlAttribute.RECRAWL_IF_OLDER.key, Long.toString(CrawlProfile.getRecrawlDate(CrawlSwitchboard.CRAWL_PROFILE_RECRAWL_JOB_RECRAWL_CYCLE).getTime()));
insert = true;
}
if ( selentry.name().equals(CrawlSwitchboard.CRAWL_PROFILE_PROXY) ) {
selentry.put(CrawlProfile.CrawlAttribute.RECRAWL_IF_OLDER.key, Long.toString(CrawlProfile.getRecrawlDate(CrawlSwitchboard.CRAWL_PROFILE_PROXY_RECRAWL_CYCLE).getTime()));
insert = true;

0 comments on commit 9624516

Please sign in to comment.