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.
1 parentb19fdd4 commit45d51d7Copy full SHA for 45d51d7
tokio-postgres/src/keepalive.rs
@@ -12,12 +12,12 @@ 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(target_os ="redox", target_os ="solaris", target_os ="windows", target_os ="openbsd")))]
21
ifletSome(retries) = keepalive_config.retries{
22
tcp_keepalive = tcp_keepalive.with_retries(retries);
23