You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by reinhard schwab <re...@aon.at> on 2009/10/16 19:16:07 UTC
bug in AbstractFetchSchedule.java
reinhard@thord:>svn diff
Index: AbstractFetchSchedule.java
===================================================================
--- AbstractFetchSchedule.java (Revision 826009)
+++ AbstractFetchSchedule.java (Arbeitskopie)
@@ -125,7 +125,7 @@
*/
public CrawlDatum setPageRetrySchedule(Text url, CrawlDatum datum,
long prevFetchTime, long prevModifiedTime, long fetchTime) {
- datum.setFetchTime(fetchTime + (long)SECONDS_PER_DAY);
+ datum.setFetchTime(fetchTime + (long)SECONDS_PER_DAY*1000);
datum.setRetriesSinceFetch(datum.getRetriesSinceFetch() + 1);
return datum;
}
it adds seconds per day instead of milliseconds.
i have been woundering again and again why it is fetching again and
again urls which have 500 status code.
shall i open a jira issue and submit the patch?
regards
reinhard