From 171e62bee530513707afa1ef2200bcf3e0680e84 Mon Sep 17 00:00:00 2001 From: orbiter Date: Thu, 23 Apr 2009 16:36:21 +0000 Subject: [PATCH] addition to the fix from last commit (which did not work) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5860 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaSearchEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/plasma/plasmaSearchEvent.java b/source/de/anomic/plasma/plasmaSearchEvent.java index ae56f0d1f..61389dba4 100644 --- a/source/de/anomic/plasma/plasmaSearchEvent.java +++ b/source/de/anomic/plasma/plasmaSearchEvent.java @@ -203,7 +203,7 @@ public final class plasmaSearchEvent { // start worker threads to fetch urls and snippets this.workerThreads = new resultWorker[(query.onlineSnippetFetch) ? workerThreadCount : 1]; for (int i = 0; i < this.workerThreads.length; i++) { - this.workerThreads[i] = new resultWorker(i, 10000, 2); + this.workerThreads[i] = new resultWorker(i, 10000, (query.onlineSnippetFetch) ? 2 : 0); this.workerThreads[i].start(); } serverProfiling.update("SEARCH", new plasmaProfiling.searchEvent(query.id(true), this.workerThreads.length + " online snippet fetch threads started", 0, 0), false);