Fix excessive delay before clearing stale room data
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
This commit is contained in:
parent
5218a2f966
commit
45bfcfc3b8
4 changed files with 16 additions and 10 deletions
|
@ -131,7 +131,7 @@ impl Database {
|
|||
.await
|
||||
}
|
||||
|
||||
pub async fn outdated_room_ids(&self) -> Result<Vec<RoomId>> {
|
||||
pub async fn stale_room_ids(&self) -> Result<Vec<RoomId>> {
|
||||
self.transaction(|tx| async move {
|
||||
#[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)]
|
||||
enum QueryAs {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue