pub struct ParallelConfig {
pub agents: Vec<AgentConfig>,
pub stagger_delay_ms: u64,
pub stagger_jitter_ms: u64,
}Expand description
Configuration for parallel execution with multiple agents
Fields§
§agents: Vec<AgentConfig>List of available agents (Claude accounts/commands)
stagger_delay_ms: u64Delay in milliseconds between spawning each agent to avoid API rate limiting
stagger_jitter_ms: u64Jitter in milliseconds for spawn delays (default: 20% of stagger_delay_ms)
Implementations§
Source§impl ParallelConfig
impl ParallelConfig
Sourcepub fn total_capacity(&self) -> usize
pub fn total_capacity(&self) -> usize
Calculate total capacity as sum of all agent max_concurrent values
Trait Implementations§
Source§impl Clone for ParallelConfig
impl Clone for ParallelConfig
Source§fn clone(&self) -> ParallelConfig
fn clone(&self) -> ParallelConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParallelConfig
impl Debug for ParallelConfig
Source§impl Default for ParallelConfig
impl Default for ParallelConfig
Source§impl<'de> Deserialize<'de> for ParallelConfig
impl<'de> Deserialize<'de> for ParallelConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ParallelConfig
impl RefUnwindSafe for ParallelConfig
impl Send for ParallelConfig
impl Sync for ParallelConfig
impl Unpin for ParallelConfig
impl UnwindSafe for ParallelConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more