add rocksdb parallelism threads config option
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
9251727d57
commit
0352ea7dda
4 changed files with 35 additions and 11 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue