Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/types/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ impl ReconnectPolicy {

/// Set the amount of jitter to add to each reconnect delay.
///
/// Default: 50 ms
/// Defaults to [`DEFAULT_JITTER_MS`].
pub fn set_jitter(&mut self, jitter_ms: u32) {
match self {
ReconnectPolicy::Constant { ref mut jitter, .. } => {
Expand Down