From 82358677a9d1008546c910ea18574637f94b907b Mon Sep 17 00:00:00 2001 From: orbiter Date: Sun, 19 Mar 2006 21:33:31 +0000 Subject: [PATCH] added another shiftK2W to flushCacheSome this should fix the bug that the DHT cache is not flushed if there is no indexing git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1935 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaWordIndex.java | 1 + 1 file changed, 1 insertion(+) diff --git a/source/de/anomic/plasma/plasmaWordIndex.java b/source/de/anomic/plasma/plasmaWordIndex.java index 552fa34bd..0f4d49a63 100644 --- a/source/de/anomic/plasma/plasmaWordIndex.java +++ b/source/de/anomic/plasma/plasmaWordIndex.java @@ -167,6 +167,7 @@ public final class plasmaWordIndex { } public synchronized void flushCacheSome() { + ramCache.shiftK2W(); int flushCount = ramCache.wSize() / 1000; if (flushCount > 50) flushCount = 50; if (flushCount < 3) flushCount = 3;