Disable disk caching in stateService
This commit is contained in:
parent
f46405a508
commit
dae65661a3
|
@ -184,7 +184,8 @@ export function initFactory(
|
|||
secureStorageService,
|
||||
logService,
|
||||
stateMigrationService,
|
||||
new StateFactory(GlobalState, Account)
|
||||
new StateFactory(GlobalState, Account),
|
||||
false // Do not use disk caching because this will get out of sync with the main process service
|
||||
),
|
||||
deps: [
|
||||
StorageServiceAbstraction,
|
||||
|
|
|
@ -83,7 +83,8 @@ export class Main {
|
|||
null,
|
||||
this.logService,
|
||||
null,
|
||||
new StateFactory(GlobalState, Account)
|
||||
new StateFactory(GlobalState, Account),
|
||||
false // Do not use disk caching because this will get out of sync with the renderer service
|
||||
);
|
||||
|
||||
this.windowMain = new WindowMain(
|
||||
|
|
Loading…
Reference in New Issue