@ -176,7 +176,7 @@ public class CrawlQueues {
return null;
}
private void cleanup() {
public void cleanup() {
// wait for all workers to finish
final int timeout = (int) this.sb.getConfigLong("crawler.clientTimeout", 10000);
for (final Loader w: this.workers.values()) {
@ -2084,6 +2084,9 @@ public final class Switchboard extends serverSwitch {
// cleanup crawl loader jobs
this.crawlQueues.cleanup();
// refresh recrawl dates
try {
CrawlProfile selentry;