fuckit: no patch db locks (#1969)

* fuck it: no patchdb locks

* fix: Add the locking to the package during the backup. (#1979)

* fix: Add the locking to the package during the backup.

* fix: Lock for the uninstall of the package

* switch patch-db to next

Co-authored-by: J M <2364004+Blu-J@users.noreply.github.com>
This commit is contained in:
Aiden McClelland
2022-11-28 10:20:47 -07:00
parent a3a4fdd7fc
commit 2b0efb32c1
11 changed files with 35 additions and 28 deletions

View File

@@ -137,7 +137,7 @@ impl BackupActions {
.expect(db)
.await?
.marketplace_url()
.get(db, true)
.get(db)
.await?
.into_owned();
let tmp_path = Path::new(BACKUP_DIR)
@@ -237,7 +237,7 @@ impl BackupActions {
.installed()
.expect(db)
.await?
.get(db, true)
.get(db)
.await?;
let receipts = crate::config::ConfigReceipts::new(db).await?;