Change default server lifetime and bump bb8 version to use LIFO correctly (#462)

Change default server lifetime and idle timeouts and bump bb8 version to use LIFO correctly
This commit is contained in:
Zain Kabani
2023-05-31 11:25:42 -04:00
committed by GitHub
parent b67c33b6d0
commit 0bc453a771
3 changed files with 6 additions and 5 deletions

View File

@@ -329,7 +329,7 @@ impl General {
}
pub fn default_server_lifetime() -> u64 {
1000 * 60 * 60 * 24 // 24 hours
1000 * 60 * 60 // 1 hour
}
pub fn default_connect_timeout() -> u64 {
@@ -352,7 +352,7 @@ impl General {
}
pub fn default_idle_timeout() -> u64 {
60000 // 10 minutes
60000 // 1 minute
}
pub fn default_shutdown_timeout() -> u64 {