add rocksdb secondary; fix read_only mode.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and strawberry committed 2024-10-25 00:36:30 -04:00
1 parent 6b80361c31
commit 96fcf7f94d
5 files changed
+27 -2

No files matched your search

+3
View File
@@ -329,4 +329,7 @@ impl Service {
#[inline]
pub fn server_is_ours(&self, server_name: &ServerName) -> bool { server_name == self.config.server_name }
#[inline]
pub fn is_read_only(&self) -> bool { self.db.db.is_read_only() }
}