Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the ignore clock skew parameter follow the generic pattern #410

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
Loading