From bc3e80fe42c63da5b2b372d403f5bd01e023e096 Mon Sep 17 00:00:00 2001 From: orbiter Date: Sun, 2 Apr 2006 23:03:17 +0000 Subject: [PATCH] quickfix git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1990 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaWordIndex.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/de/anomic/plasma/plasmaWordIndex.java b/source/de/anomic/plasma/plasmaWordIndex.java index 9e29c3602..bd42d87d6 100644 --- a/source/de/anomic/plasma/plasmaWordIndex.java +++ b/source/de/anomic/plasma/plasmaWordIndex.java @@ -279,17 +279,17 @@ public final class plasmaWordIndex { // e.g. indexTransfer might keep this container for minutes while // several new pages could be added to the index, possibly with the same words that have // been selected for transfer - container.add(ramCache.getContainer(wordHash, true), maxTime / 2); + container.add(ramCache.getContainer(wordHash, true), (maxTime < 0) ? -1 : maxTime / 2); // get from assortments - container.add(assortmentCluster.getFromAll(wordHash, (maxTime < 0) ? -1 : maxTime / 2), maxTime / 2); + container.add(assortmentCluster.getFromAll(wordHash, (maxTime < 0) ? -1 : maxTime / 2), (maxTime < 0) ? -1 : maxTime / 2); // get from backend if (maxTime > 0) { maxTime = maxTime - (System.currentTimeMillis() - start); if (maxTime < 0) maxTime = 100; } - container.add(backend.getContainer(wordHash, deleteIfEmpty, (maxTime < 0) ? -1 : maxTime / 2), maxTime / 2); + container.add(backend.getContainer(wordHash, deleteIfEmpty, (maxTime < 0) ? -1 : maxTime / 2), (maxTime < 0) ? -1 : maxTime / 2); return container; }