Skip to content

Commit

Permalink
different flush limit
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1713 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Feb 20, 2006
1 parent 17334f7 commit c2d8638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/de/anomic/plasma/plasmaWordIndex.java
Expand Up @@ -118,7 +118,7 @@ public int addEntries(plasmaWordIndexEntryContainer entries, long updateTime, bo
int added = ramCache.addEntries(entries, updateTime, highPriority);

// force flush
while (ramCache.maxURLinWordCache() > 150) {
while (ramCache.maxURLinWordCache() > 50) {
try { Thread.sleep(10); } catch (InterruptedException e) { }
flushCacheToBackend(ramCache.bestFlushWordHash());
}
Expand Down

0 comments on commit c2d8638

Please sign in to comment.