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 parent3afcc3d commitaa10f0dCopy full SHA for aa10f0d
tokio-postgres/src/keepalive.rs
@@ -12,12 +12,18 @@ 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", target_os ="openbsd")))]
+#[cfg(not(any(
16
+ target_os ="aix",
17
+ target_os ="redox",
18
+ target_os ="solaris",
19
+ target_os ="openbsd"
20
+)))]
21
ifletSome(interval) = keepalive_config.interval{
22
tcp_keepalive = tcp_keepalive.with_interval(interval);
23
}
24
25
#[cfg(not(any(
26
27
target_os ="redox",
28
target_os ="solaris",
29
target_os ="windows",