We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4fae7 commit cdf6709Copy full SHA for cdf6709
src/app.rs
@@ -53,7 +53,7 @@ impl App {
53
.helper_threads(if config.env == ::Env::Production {3} else {1})
54
.build();
55
let diesel_db_config = r2d2::Config::builder()
56
- .pool_size(if config.env == ::Env::Production {50} else {1})
+ .pool_size(if config.env == ::Env::Production {30} else {1})
57
.min_idle(if config.env == ::Env::Production {Some(5)} else {None})
58
59
0 commit comments