We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parentsb19fdd4 +e59a165 commit7dd6813Copy full SHA for 7dd6813
tokio-postgres/src/keepalive.rs
@@ -12,12 +12,17 @@ impl From<&KeepaliveConfig> for TcpKeepalive {
12
fnfrom(keepalive_config:&KeepaliveConfig) ->Self{
13
letmut tcp_keepalive =Self::new().with_time(keepalive_config.idle);
14
15
-#[cfg(not(any(target_os ="redox", target_os ="solaris")))]
+#[cfg(not(any(target_os ="redox", target_os ="solaris", target_os ="openbsd")))]
16
ifletSome(interval) = keepalive_config.interval{
17
tcp_keepalive = tcp_keepalive.with_interval(interval);
18
}
19
20
-#[cfg(not(any(target_os ="redox", target_os ="solaris", target_os ="windows")))]
+#[cfg(not(any(
21
+ target_os ="redox",
22
+ target_os ="solaris",
23
+ target_os ="windows",
24
+ target_os ="openbsd"
25
+)))]
26
ifletSome(retries) = keepalive_config.retries{
27
tcp_keepalive = tcp_keepalive.with_retries(retries);
28