Skip to main content

is_balanced

Function is_balanced 

Source
pub fn is_balanced(partitions: &[WorkPartition]) -> bool
Expand description

Check if partitions are balanced (no worker has more than 2x the average).