pub struct PoolConfig {
pub workers: usize,
pub max_prompts_per_worker: u32,
pub max_retries: u32,
pub backoff_base: Duration,
pub backoff_cap: Duration,
pub default_options: RubricOptions,
pub codex_acp_binary: PathBuf,
pub acp_args: Vec<String>,
pub extra_env: Vec<(OsString, OsString)>,
pub submit_timeout: Duration,
pub source_codex_home: Option<PathBuf>,
pub log_capture: Option<LogCaptureConfig>,
}Expand description
Configuration for a crate::RubricPool.
Fields§
§workers: usizeNumber of worker processes to keep alive.
max_prompts_per_worker: u32Number of prompts after which a worker is recycled.
max_retries: u32Number of retries for recoverable worker or rate-limit failures.
backoff_base: DurationInitial retry backoff.
backoff_cap: DurationMaximum retry backoff.
default_options: RubricOptionsOptions applied when a submitted job omits an override.
codex_acp_binary: PathBufPath to the ACP executable.
acp_args: Vec<String>Extra CLI arguments for the ACP binary.
When empty, the ACP v1 session advertises and receives model/reasoning
settings through session/set_config_option. Explicit arguments remain
available for provider launch modes such as opencode acp.
extra_env: Vec<(OsString, OsString)>Extra environment variables for worker processes.
submit_timeout: DurationMaximum time to wait for one submitted job.
source_codex_home: Option<PathBuf>Optional Codex home directory to seed into worker-local homes.
log_capture: Option<LogCaptureConfig>Optional ACP log capture directories.
Trait Implementations§
Source§impl Clone for PoolConfig
impl Clone for PoolConfig
Source§impl Debug for PoolConfig
impl Debug for PoolConfig
Source§impl Default for PoolConfig
impl Default for PoolConfig
impl Eq for PoolConfig
Source§impl PartialEq for PoolConfig
impl PartialEq for PoolConfig
impl StructuralPartialEq for PoolConfig
Auto Trait Implementations§
impl Forget for PoolConfig
impl Freeze for PoolConfig
impl Move for PoolConfig
impl RefUnwindSafe for PoolConfig
impl Send for PoolConfig
impl Sync for PoolConfig
impl Unpin for PoolConfig
impl UnsafeUnpin for PoolConfig
impl UnwindSafe for PoolConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.