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 9d35205 commit 021a2ffCopy full SHA for 021a2ff
src/modules/db/sqlx/mod.rs
@@ -707,7 +707,7 @@ impl SqlxConnection {
707
.idle_timeout(Duration::from_secs(60))
708
.max_lifetime(Duration::from_secs(3600))
709
.max_connections(64)
710
- .min_connections(0)
+ .min_connections(2)
711
.connect_lazy(con_str.as_str())
712
.map_err(|e| JsError::new_string(format!("{e}")))?;
713
Ok(SqlxConnection::MySqlConnection {
@@ -728,7 +728,7 @@ impl SqlxConnection {
728
729
730
731
732
733
734
Ok(SqlxConnection::PostgresConnection {
0 commit comments