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 cb33cd7 commit cdfced9Copy full SHA for cdfced9
node/src/main.rs
@@ -349,7 +349,9 @@ fn async_main() -> impl Future<Item = (), Error = ()> + Send + 'static {
349
.expect("invalid --store-connection-pool-size/STORE_CONNECTION_POOL_SIZE value");
350
351
// Minimum of two connections needed for the pool in order for the Store to bootstrap
352
- assert!(store_conn_pool_size > 1);
+ if store_conn_pool_size <= 1 {
353
+ panic!("--store-connection-pool-size/STORE_CONNECTION_POOL_SIZE must be > 1")
354
+ }
355
356
// Set up Sentry, with release tracking and panic handling;
357
// fall back to an empty URL, which will result in no errors being reported
0 commit comments