@@ -277,7 +277,7 @@ fn async_main() -> impl Future<Item = (), Error = ()> + Send + 'static {
277
277
. value_name ( "STORE_CONNECTION_POOL_SIZE" )
278
278
. default_value ( "10" )
279
279
. env ( "STORE_CONNECTION_POOL_SIZE" )
280
- . help ( "Limits the maximum number of connections in the Store 's connection pool" ) ,
280
+ . help ( "Limits the number of connections in the store 's connection pool" ) ,
281
281
)
282
282
. get_matches ( ) ;
283
283
@@ -318,12 +318,12 @@ fn async_main() -> impl Future<Item = (), Error = ()> + Send + 'static {
318
318
. value_of ( "http-port" )
319
319
. unwrap ( )
320
320
. parse ( )
321
- . expect ( "Invalid GraphQL HTTP server port" ) ;
321
+ . expect ( "invalid GraphQL HTTP server port" ) ;
322
322
let ws_port = matches
323
323
. value_of ( "ws-port" )
324
324
. unwrap ( )
325
325
. parse ( )
326
- . expect ( "Invalid GraphQL WebSocket server port" ) ;
326
+ . expect ( "invalid GraphQL WebSocket server port" ) ;
327
327
328
328
// Obtain JSON-RPC server port
329
329
let json_rpc_port = matches
@@ -339,14 +339,14 @@ fn async_main() -> impl Future<Item = (), Error = ()> + Send + 'static {
339
339
. value_of ( "disable-block-ingestor" )
340
340
. unwrap ( )
341
341
. parse ( )
342
- . expect ( "Invalid disable block ingestor value" ) ;
342
+ . expect ( "invalid -- disable- block- ingestor/DISABLE_BLOCK_INGESTOR value" ) ;
343
343
344
344
// Obtain STORE_CONNECTION_POOL_SIZE setting
345
345
let store_conn_pool_size = matches
346
346
. value_of ( "store-connection-pool-size" )
347
347
. unwrap ( )
348
348
. parse ( )
349
- . expect ( "Invalid store connection pool size value" ) ;
349
+ . expect ( "invalid -- store- connection- pool- size/STORE_CONNECTION_POOL_SIZE value" ) ;
350
350
351
351
// Minimum of two connections needed for the pool in order for the Store to bootstrap
352
352
assert ! ( store_conn_pool_size > 1 ) ;
0 commit comments