BUGFIX for last 'commit'

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@635 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
borg-0300 20 years ago
parent 971756e8dd
commit 7626823519

@ -258,7 +258,7 @@ public final class plasmaHTCache {
private void cleanup() {
// clean up cache to have 3% (enough) space for next entries
if ((currCacheSize >= maxCacheSize) && (cacheAge.size() > 0)) {
if (maxCacheSize > 0) cleanupDoIt((maxCacheSize - ((maxCacheSize / 100) * 3));
if (maxCacheSize > 0) cleanupDoIt(maxCacheSize - ((maxCacheSize / 100) * 3));
}
}

Loading…
Cancel
Save