1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

Fix/lock lowdb file (#470)

* Lock data.json while running

* Await floating promises

* Increase retry frequency and attempt count for lock file

* tweak lock retry times
This commit is contained in:
Matt Gibson
2022-02-10 10:24:41 -06:00
committed by GitHub
parent 2ae2fdfd14
commit ee664059d2
6 changed files with 115 additions and 1565 deletions

View File

@@ -67,7 +67,7 @@ export class UnlockCommand {
}
}
this.setNewSessionKey();
await this.setNewSessionKey();
const email = await this.stateService.getEmail();
const kdf = await this.stateService.getKdfType();
const kdfIterations = await this.stateService.getKdfIterations();