Bump LRU sizes

This commit is contained in:
Jaco Greeff
2018-09-05 11:57:54 +02:00
parent 0e8587f977
commit ca6934b6cf
+2 -2
View File
@@ -21,8 +21,8 @@ import u8aToHex from '@polkadot/util/u8a/toHex';
import Compact from './Compact';
import defaults from './defaults';
const LRU_BRANCH_COUNT = 2048;
const LRU_DATA_COUNT = 4096;
const LRU_BRANCH_COUNT = 16384; // * 96 = bytes
const LRU_DATA_COUNT = 8192;
const l = logger('db/flat');