We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
connection_timeout
1 parent affac62 commit e38e064Copy full SHA for e38e064
src/config/database_pools.rs
@@ -86,7 +86,7 @@ impl DatabasePools {
86
.unwrap_or(DEFAULT_TCP_TIMEOUT);
87
88
let connection_timeout = var_parsed("DB_TIMEOUT")?
89
- .map(Duration::from_millis)
+ .map(Duration::from_secs)
90
.unwrap_or(DEFAULT_CONNECTION_TIMEOUT);
91
92
// `DB_TIMEOUT` currently configures both the connection timeout and
0 commit comments