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:
akshay-97
2023-11-28 18:58:46 +05:30
committed by GitHub
parent bd889c834d
commit b3c51e6eb5
6 changed files with 14 additions and 1 deletions

View File

@ -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>,
}