Skip to main content

max_labjack_failures_from_env

Function max_labjack_failures_from_env 

Source
pub(crate) fn max_labjack_failures_from_env() -> usize
Expand description

Reads the number of consecutive sampler failures after which the streamer exits.

Reads STREAMER_MAX_LABJACK_FAILURES. A missing, unparsable or zero value gives the default of 5.