orbiter 19 years ago
parent 4d19d94348
commit e6044e5198

@ -161,7 +161,7 @@ public class kelondroCollectionIndex {
// write a log
if (System.currentTimeMillis() - lastlog > 30000) {
serverLog.logFine("STARTUP", "created " + j + " RWI index entries. " + (((System.currentTimeMillis() - start) * (array.USAGE.allCount() - j) / j) / 60000) + " minutes remaining for this array");
serverLog.logFine("STARTUP", "created " + j + " RWI index entries. " + (((System.currentTimeMillis() - start) * (array.USAGE.allCount() - j) / ((j == 0) ? 1 : j)) / 60000) + " minutes remaining for this array");
lastlog = System.currentTimeMillis();
}
}

@ -247,7 +247,7 @@ public class plasmaCrawlLURLOldEntry implements plasmaCrawlLURLEntry {
}
public String language() {
return language;
return (language == null) ? "en" : language;
}
public int size() {

Loading…
Cancel
Save