Fix deadlock in db get_room
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
33c265d3cf
commit
4ffc8cd9fd
1 changed files with 2 additions and 1 deletions
|
@ -1996,7 +1996,8 @@ impl Database {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
drop(db_projects);
|
||||
|
||||
let mut db_followers = db_room.find_related(follower::Entity).stream(tx).await?;
|
||||
let mut followers = Vec::new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue