Skip to main content

warn_task_budget

Function warn_task_budget 

Source
fn warn_task_budget(total_workers: usize, num_cores: usize)
Expand description

Warn when the pool’s threads and the rest of the process may exceed a container task limit.

The check is advisory and the pool is not resized: which of the two numbers is the wrong one is the operator’s call. A host whose cgroup sets no task limit is skipped.