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
4 changes: 2 additions & 2 deletions lib/src/client/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ impl ClientBuilder {

/// Sets whether the client should ignore clock skew so the client can make a successful
/// connection to the server, even when the client and server clocks are out of sync.
pub fn ignore_clock_skew(mut self) -> Self {
self.config.performance.ignore_clock_skew = true;
pub fn ignore_clock_skew(mut self, ignore_clock_skew: bool) -> Self {
self.config.performance.ignore_clock_skew = ignore_clock_skew;
self
}

Expand Down