Function register_retry_layer
pub fn register_retry_layer(registry: &OperatorRegistry)Available on crate feature
layers-retry only.Expand description
Register the retry layer with an operator registry.
jitter accepts true, false, on, and off, ignoring ASCII case.
factor must be finite and at least 1. min_delay and max_delay must
be positive durations such as 500ms or PT1S. max_times is the maximum
number of retries after the first attempt and accepts 0.
Omitted options keep the defaults from RetryLayer::new.