risingwave_storage::hummock::compactor::compaction_utils

Function calculate_task_parallelism

source
pub fn calculate_task_parallelism(
    compact_task: &CompactTask,
    context: &CompactorContext,
) -> usize