mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
refactor: Added min idle and max lifetime for database config (#2900)
Co-authored-by: akshay.s <akshay.s@juspay.in> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -10,4 +10,6 @@ pub struct Database {
|
||||
pub pool_size: u32,
|
||||
pub connection_timeout: u64,
|
||||
pub queue_strategy: bb8::QueueStrategy,
|
||||
pub min_idle: Option<u32>,
|
||||
pub max_lifetime: Option<u64>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user