Apache Lucene open-source search software
changed to hostmanager-aware taskQueue
cmarschneraaffb3ed75f5
diff --git a/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/fetcher/Fetcher.java b/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/fetcher/Fetcher.javaindex 8cc43c9d946..72f02664ca8 100644--- a/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/fetcher/Fetcher.java+++ b/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/fetcher/Fetcher.java@@ -119,7 +119,7 @@ public class Fetcher implements MessageListenerFetcherTask.setDocStorage(docStorage);FetcherTask.setLinkStorage(linkStorage);fetcherPool = new ThreadPool(maxThreads, new FetcherThreadFactory(hostManager));- fetcherPool.setQueue(new FetcherTaskQueue());+ fetcherPool.setQueue(new FetcherTaskQueue(hostManager));docsRead = 0;this.hostManager = hostManager;}