From ca6934b6cf85dd590dc3c8984a45218c1b68392f Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Wed, 5 Sep 2018 11:57:54 +0200 Subject: [PATCH] Bump LRU sizes --- packages/db/src/FileFlatDb/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/db/src/FileFlatDb/index.ts b/packages/db/src/FileFlatDb/index.ts index 007a5a227..32780ce48 100644 --- a/packages/db/src/FileFlatDb/index.ts +++ b/packages/db/src/FileFlatDb/index.ts @@ -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');