diff --git a/lib/src/client/builder.rs b/lib/src/client/builder.rs index e802f15c1..1b3557926 100644 --- a/lib/src/client/builder.rs +++ b/lib/src/client/builder.rs @@ -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 }