Skip to content

Commit

Permalink
provide default when no connections provided by file config
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonShin committed Jul 25, 2024
1 parent 216c9e3 commit 9255150
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ impl Config {

let pool_size = default_config
.map(|x| x.pool_size)
.or_else(|| Some(default_pool_size()))
.unwrap();

DbConnectionConfig {
Expand Down

0 comments on commit 9255150

Please sign in to comment.