mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
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:
@@ -80,7 +80,7 @@ impl VersionT for Version {
|
||||
|
||||
for package_id in crate::db::DatabaseModel::new()
|
||||
.package_data()
|
||||
.keys(db, false)
|
||||
.keys(db)
|
||||
.await?
|
||||
.iter()
|
||||
{
|
||||
@@ -126,7 +126,7 @@ impl VersionT for Version {
|
||||
ui["auto-check-updates"] = Value::Bool(true);
|
||||
ui["pkg-order"] = json!(crate::db::DatabaseModel::new()
|
||||
.package_data()
|
||||
.keys(db, false)
|
||||
.keys(db)
|
||||
.await?
|
||||
.iter()
|
||||
.map(|x| x.to_string())
|
||||
|
||||
Reference in New Issue
Block a user