different flush limit

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1713 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 19 years ago
parent 17334f7bdd
commit c2d863855d

@ -118,7 +118,7 @@ public final class plasmaWordIndex {
int added = ramCache.addEntries(entries, updateTime, highPriority); int added = ramCache.addEntries(entries, updateTime, highPriority);
// force flush // force flush
while (ramCache.maxURLinWordCache() > 150) { while (ramCache.maxURLinWordCache() > 50) {
try { Thread.sleep(10); } catch (InterruptedException e) { } try { Thread.sleep(10); } catch (InterruptedException e) { }
flushCacheToBackend(ramCache.bestFlushWordHash()); flushCacheToBackend(ramCache.bestFlushWordHash());
} }

Loading…
Cancel
Save