Struct bonsaidb::local::config::Tasks [−][src]
Expand description
Configuration options for background tasks.
Fields
worker_count: usize
Defines how many workers should be spawned to process tasks. This defaults to the 2x the number of cpu cores available to the system or 2, whichever is larger.
parallelization: usize
Defines how many simultaneous threads should be used when a task is parallelizable. This defaults to the nuber of cpu cores available to the system.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tasks
impl UnwindSafe for Tasks
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more