We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3afcc3d + aa10f0d commit d2634a4Copy full SHA for d2634a4
tokio-postgres/src/keepalive.rs
@@ -12,12 +12,18 @@ impl From<&KeepaliveConfig> for TcpKeepalive {
12
fn from(keepalive_config: &KeepaliveConfig) -> Self {
13
let mut 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
if let Some(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",
0 commit comments