if (queueMode.equals(QUEUE_MODE_HOST)) {
useHostSettings = conf.getBoolean("fetcher.queue.use.host.settings", false);
if (useHostSettings) {
LOG.info("Host specific queue settings enabled.");
// Initialize the HostDb if we need it.
hostDb = new HostDb(conf);
}
}
this.crawlDelay = (long) (conf.getFloat("fetcher.server.delay", 1.0f) * 1000);
this.minCrawlDelay = (long) (conf.getFloat("fetcher.server.min.delay", 0.0f) * 1000);