1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +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

@@ -13,7 +13,7 @@ export class SendDeleteCommand {
}
try {
this.sendService.deleteWithServer(id);
await this.sendService.deleteWithServer(id);
return Response.success();
} catch (e) {
return Response.error(e);