PM-5501 - Remove no longer necessary global default vault timeout values; there are no references to them after the state provider migration. (#9240)
This commit is contained in:
parent
82d98b8ff1
commit
b4c8bdf468
|
@ -119,9 +119,6 @@ export class Main {
|
||||||
this.logService = new ElectronLogMainService(null, app.getPath("userData"));
|
this.logService = new ElectronLogMainService(null, app.getPath("userData"));
|
||||||
|
|
||||||
const storageDefaults: any = {};
|
const storageDefaults: any = {};
|
||||||
// Default vault timeout to "on restart", and action to "lock"
|
|
||||||
storageDefaults["global.vaultTimeout"] = -1;
|
|
||||||
storageDefaults["global.vaultTimeoutAction"] = "lock";
|
|
||||||
this.storageService = new ElectronStorageService(app.getPath("userData"), storageDefaults);
|
this.storageService = new ElectronStorageService(app.getPath("userData"), storageDefaults);
|
||||||
this.memoryStorageService = new MemoryStorageService();
|
this.memoryStorageService = new MemoryStorageService();
|
||||||
this.memoryStorageForStateProviders = new MemoryStorageServiceForStateProviders();
|
this.memoryStorageForStateProviders = new MemoryStorageServiceForStateProviders();
|
||||||
|
|
Loading…
Reference in New Issue