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 e6f7f35 commit b9f6e00Copy full SHA for b9f6e00
frameworks/Rust/hyperlane/src/db.rs
@@ -106,7 +106,7 @@ pub async fn connection_db() -> DbPoolConnection {
106
DATABASE_NAME
107
),
108
};
109
- let pool_size: u32 = (get_thread_count() >> 2).max(10).min(100) as u32;
+ let pool_size: u32 = (get_thread_count() << 2).max(10).min(100) as u32;
110
let max_pool_size: u32 = option_env!("POSTGRES_MAX_POOL_SIZE")
111
.unwrap_or(&pool_size.to_string())
112
.parse::<u32>()
0 commit comments