add rocksdb parallelism threads config option

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry authored and June committed 2024-03-08 12:51:21 -05:00
1 parent 9251727d57
commit 0352ea7dda
4 files changed
+35 -11

No files matched your search

+4
View File
@@ -463,6 +463,10 @@ impl Service<'_> {
self.config.rocksdb_optimize_for_spinning_disks
}
pub fn rocksdb_parallelism_threads(&self) -> usize {
self.config.rocksdb_parallelism_threads
}
pub fn prevent_media_downloads_from(&self) -> &[OwnedServerName] {
&self.config.prevent_media_downloads_from
}