Fix deadlock in db get_room

Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
JuliaandMax Brunsfeld committed 2023-02-22 11:21:23 -05:00
1 parent 988f9c1266
commit 62ea8909c1
1 file changed
+2 -1
+2 -1
View File
@@ -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();