mirror of
https://github.com/block/buzz.git
synced 2026-11-04 00:12:02 +00:00
db: recycle pool connections after 5 minutes instead of 30 (#8951)
This commit is contained in:
@@ -729,7 +729,7 @@ impl Default for DbConfig {
|
||||
read_max_connections: None,
|
||||
min_connections: 2,
|
||||
acquire_timeout_secs: 3,
|
||||
max_lifetime_secs: 1800,
|
||||
max_lifetime_secs: 300,
|
||||
idle_timeout_secs: 600,
|
||||
replica_read_max_age_ms: 0,
|
||||
usage_metrics_replica_max_age_ms: 30_000,
|
||||
|
||||
Reference in New Issue
Block a user