Skip to main content

MAX_TASKS

Constant MAX_TASKS 

Source
pub const MAX_TASKS: usize = 1024;
Expand description

How many tasks one workspace may hold at once. spawn refuses past it (archiving an old agent directory is the way out); the ownership-policy walks in policy and attach::cancel_tree are bounded by it too, so corrupt or cyclic metadata cannot loop forever.