PM-5501 - Remove no longer necessary global default vault timeout values; there are no references to them after the state provider migration.

This commit is contained in:
Jared Snider 2024-05-17 16:39:22 -04:00
parent 82d98b8ff1
commit 323eefa6c1
No known key found for this signature in database
GPG Key ID: A149DDD612516286
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();