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 908c350 commit a870482Copy full SHA for a870482
frameworks/Rust/hyperlane/src/db.rs
@@ -117,8 +117,7 @@ pub async fn connection_db() -> DbPoolConnection {
117
),
118
};
119
let pool: DbPoolConnection = PgPoolOptions::new()
120
- .min_connections(1_000)
121
- .min_connections(1_000_000)
+ .min_connections(get_thread_count() as u32)
122
.max_lifetime(None)
123
.idle_timeout(None)
124
.connect(db_url)
0 commit comments