We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8d1917 commit d27ea98Copy full SHA for d27ea98
pgdog/src/frontend/client/timeouts.rs
@@ -67,7 +67,6 @@ impl Timeouts {
67
68
#[cfg(test)]
69
mod test {
70
-
71
use crate::{config::config, net::Query};
72
73
use super::*;
@@ -79,7 +78,7 @@ mod test {
79
78
80
let actual = timeout.client_idle_timeout(&State::IdleInTransaction, &ClientRequest::new());
81
assert_eq!(actual, timeout.idle_in_transaction_timeout);
82
- assert_eq!(actual.as_millis(), u64::MAX.into());
+ assert_eq!(actual.as_millis(), i64::MAX as u128);
83
84
let actual = timeout.client_idle_timeout(
85
&State::IdleInTransaction,
0 commit comments