simplify/tune rocksdb options, config option for compression algo

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-13 12:31:13 -04:00 committed by June
parent 6f77f7ee9e
commit 20c089b7ed
4 changed files with 31 additions and 10 deletions

View file

@ -369,6 +369,8 @@ impl Service<'_> {
pub fn rocksdb_parallelism_threads(&self) -> usize { self.config.rocksdb_parallelism_threads }
pub fn rocksdb_compression_algo(&self) -> &String { &self.config.rocksdb_compression_algo }
pub fn prevent_media_downloads_from(&self) -> &[OwnedServerName] { &self.config.prevent_media_downloads_from }
pub fn ip_range_denylist(&self) -> &[String] { &self.config.ip_range_denylist }