pub type RedisEventReconnectPolicy = EventReconnectPolicy;Expand description
Backwards-compatible name for the shared event reconnect policy.
Aliased Type§
pub struct RedisEventReconnectPolicy {
pub initial_delay: Duration,
pub max_delay: Duration,
pub stable_reset_after: Duration,
pub jitter_min_percent: u16,
pub jitter_max_percent: u16,
}Fields§
§initial_delay: DurationInitial reconnect delay.
max_delay: DurationMaximum reconnect delay.
stable_reset_after: DurationStable connection duration after which the attempt counter resets.
jitter_min_percent: u16Minimum jitter percentage applied to the selected delay.
jitter_max_percent: u16Maximum jitter percentage applied to the selected delay.