pub struct PollIntervalConfig {
pub poll_interval_ms_not_at_capacity: u64,
pub poll_interval_ms_at_capacity: u64,
pub non_exclusive_heartbeat_interval_ms: u64,
pub multisession_poll_interval_ms_not_at_capacity: u64,
pub multisession_poll_interval_ms_partial_capacity: u64,
pub multisession_poll_interval_ms_at_capacity: u64,
pub reclaim_older_than_ms: u64,
pub session_keepalive_interval_v2_ms: u64,
}Fields§
§poll_interval_ms_not_at_capacity: u64§poll_interval_ms_at_capacity: u64§non_exclusive_heartbeat_interval_ms: u640 = disabled. When > 0, at-capacity loops send per-work-item heartbeats at this interval. Independent of poll_interval_ms_at_capacity — both may run (heartbeat periodically yields to poll). 60s gives 5× headroom under the server’s 300s heartbeat TTL. Named non_exclusive to distinguish from the old heartbeat_interval_ms field (either-or semantics in pre-#22145 clients — heartbeat suppressed poll). Old clients ignore this key; ops can set both fields during rollout.
multisession_poll_interval_ms_not_at_capacity: u64§multisession_poll_interval_ms_partial_capacity: u64§multisession_poll_interval_ms_at_capacity: u64§reclaim_older_than_ms: u64Poll query param: reclaim unacknowledged work items older than this. Matches the server’s DEFAULT_RECLAIM_OLDER_THAN_MS (work_service.py:24). Enables picking up stale-pending work after JWT expiry, when the prior ack failed because the session_ingress_token was already stale.
session_keepalive_interval_v2_ms: u640 = disabled. When > 0, push a silent {type:‘keep_alive’} frame to session-ingress at this interval so upstream proxies don’t GC an idle remote-control session. 2 min is the default. _v2: bridge-only gate (pre-v2 clients read the old key, new clients ignore it).
Trait Implementations§
Source§impl Clone for PollIntervalConfig
impl Clone for PollIntervalConfig
Source§fn clone(&self) -> PollIntervalConfig
fn clone(&self) -> PollIntervalConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more