Skip to main content

labjack_retry_delay_from_env

Function labjack_retry_delay_from_env 

Source
pub(crate) fn labjack_retry_delay_from_env() -> Duration
Expand description

Reads the delay between sampler restarts after a failed run.

Reads STREAMER_LABJACK_RETRY_DELAY_SECS in whole seconds. A missing or unparsable value gives the default of 5 s. 0 is accepted and means no delay.