Skip to content

Commit cb33cd7

Browse files
author
Jorge Olivero
committed
main: Addressing PR feedback
1 parent 3e59d41 commit cb33cd7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

node/src/main.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ fn async_main() -> impl Future<Item = (), Error = ()> + Send + 'static {
277277
.value_name("STORE_CONNECTION_POOL_SIZE")
278278
.default_value("10")
279279
.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"),
281281
)
282282
.get_matches();
283283

@@ -318,12 +318,12 @@ fn async_main() -> impl Future<Item = (), Error = ()> + Send + 'static {
318318
.value_of("http-port")
319319
.unwrap()
320320
.parse()
321-
.expect("Invalid GraphQL HTTP server port");
321+
.expect("invalid GraphQL HTTP server port");
322322
let ws_port = matches
323323
.value_of("ws-port")
324324
.unwrap()
325325
.parse()
326-
.expect("Invalid GraphQL WebSocket server port");
326+
.expect("invalid GraphQL WebSocket server port");
327327

328328
// Obtain JSON-RPC server port
329329
let json_rpc_port = matches
@@ -339,14 +339,14 @@ fn async_main() -> impl Future<Item = (), Error = ()> + Send + 'static {
339339
.value_of("disable-block-ingestor")
340340
.unwrap()
341341
.parse()
342-
.expect("Invalid disable block ingestor value");
342+
.expect("invalid --disable-block-ingestor/DISABLE_BLOCK_INGESTOR value");
343343

344344
// Obtain STORE_CONNECTION_POOL_SIZE setting
345345
let store_conn_pool_size = matches
346346
.value_of("store-connection-pool-size")
347347
.unwrap()
348348
.parse()
349-
.expect("Invalid store connection pool size value");
349+
.expect("invalid --store-connection-pool-size/STORE_CONNECTION_POOL_SIZE value");
350350

351351
// Minimum of two connections needed for the pool in order for the Store to bootstrap
352352
assert!(store_conn_pool_size > 1);

0 commit comments

Comments
 (0)