From 9a42197981b4c3979e547a7091efd947aa5d2137 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 5 Jun 2018 14:44:51 -0400 Subject: [PATCH] allow low db to cache --- jslib | 2 +- src/bw.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index 22c12cf5c4..476d21e9f0 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 22c12cf5c4cc1c00792a9717fbb3d85fc53bed99 +Subproject commit 476d21e9f07f648784e92e6e7ec4ae37910e2449 diff --git a/src/bw.ts b/src/bw.ts index 5fee684a1d..cc78402138 100644 --- a/src/bw.ts +++ b/src/bw.ts @@ -73,7 +73,7 @@ export class Main { this.i18nService = new I18nService('en', './locales'); this.platformUtilsService = new NodePlatformUtilsService(); this.cryptoFunctionService = new NodeCryptoFunctionService(); - this.storageService = new LowdbStorageService(null, p); + this.storageService = new LowdbStorageService(null, p, true); this.secureStorageService = new NodeEnvSecureStorageService(this.storageService, () => this.cryptoService); this.cryptoService = new CryptoService(this.storageService, this.secureStorageService, this.cryptoFunctionService);