feat: Kill roomsynctoken_shortstatehash dead

This commit is contained in:
Ginger committed 2026-07-09 16:43:10 -04:00
1 parent 62730e861a
commit 89dcda4c3c
3 files changed
+32 -2

No files matched your search

+7 -1
View File
@@ -17,7 +17,7 @@ use std::{
},
};
use conduwuit::{Err, Result, debug, info, warn};
use conduwuit::{Err, Result, debug, err, info, warn};
use rocksdb::{
AsColumnFamilyRef, BoundColumnFamily, DBCommon, DBWithThreadMode, MultiThreaded,
WaitForCompactOptions,
@@ -127,6 +127,12 @@ impl Engine {
sequence
}
pub fn drop_column(&self, name: &str) -> Result {
self.db
.drop_cf(name)
.map_err(|err| err!("Failed to drop {name}: {err}"))
}
}
impl Drop for Engine {