decreased the responseHeaderDB database which is now flushed more

frequently. This will preserve more documents in the cache in case of a
crash.
pull/1/head
Michael Peter Christen 11 years ago
parent 3e22d05290
commit 1a8c64117f

@ -83,7 +83,7 @@ public final class Cache {
// open the response header database
final File dbfile = new File(cachePath, RESPONSE_HEADER_DB_NAME);
try {
responseHeaderDB = new MapHeap(dbfile, Word.commonHashLength, Base64Order.enhancedCoder, 1024 * 1024, 100, ' ');
responseHeaderDB = new MapHeap(dbfile, Word.commonHashLength, Base64Order.enhancedCoder, 2048, 100, ' ');
} catch (final IOException e) {
ConcurrentLog.logException(e);
}

Loading…
Cancel
Save