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:
Jared Snider 2024-05-17 17:06:29 -04:00 committed by GitHub
parent 82d98b8ff1
commit b4c8bdf468
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -119,9 +119,6 @@ export class Main {
this.logService = new ElectronLogMainService(null, app.getPath("userData"));
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.memoryStorageService = new MemoryStorageService();
this.memoryStorageForStateProviders = new MemoryStorageServiceForStateProviders();