mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
fix deadlock
This commit is contained in:
committed by
Aiden McClelland
parent
ee8eca7038
commit
b70d176d9e
@@ -163,7 +163,6 @@ async fn maybe_do_update(ctx: RpcContext) -> Result<Option<Arc<Revision>>, Error
|
||||
if &latest_version <= ¤t_version {
|
||||
return Ok(None);
|
||||
}
|
||||
let mut db = ctx.db.handle();
|
||||
let mut tx = db.begin().await?;
|
||||
let mut info = crate::db::DatabaseModel::new()
|
||||
.server_info()
|
||||
|
||||
Reference in New Issue
Block a user