Skip to main content

WATCH_POLL_INTERVAL

Constant WATCH_POLL_INTERVAL 

Source
pub const WATCH_POLL_INTERVAL: Duration;
Expand description

How often watch polls ControlRequest::GetParam.

There is no ParamSubscribe verb (§7.3’s frozen family has Log/Topic subscriptions, not a third one for parameters) — see this crate’s final report — so --watch polls rather than opens a push subscription like astrs logs -f/astrs topic echo do. Every transition is still seen; what polling gives up is when within a poll interval it was written, and a revision that lands and is immediately overwritten between two polls, neither of which this flag’s own --help overstates.