From 6f47b85db1c7e4b2460144c76546652c342d65dd Mon Sep 17 00:00:00 2001 From: tgmichel Date: Fri, 23 Jul 2021 12:07:31 +0200 Subject: [PATCH] Add `rpc_http_threads` (#548) --- client/cli/src/lib.rs | 4 ++++ polkadot-parachains/src/command.rs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/client/cli/src/lib.rs b/client/cli/src/lib.rs index 1af93c36aa72..e06183625dd7 100644 --- a/client/cli/src/lib.rs +++ b/client/cli/src/lib.rs @@ -217,6 +217,10 @@ impl sc_cli::CliConfiguration for NormalizedRunCmd { self.base.rpc_ws_max_connections() } + fn rpc_http_threads(&self) -> sc_cli::Result> { + self.base.rpc_http_threads() + } + fn rpc_cors(&self, is_dev: bool) -> sc_cli::Result>> { self.base.rpc_cors(is_dev) } diff --git a/polkadot-parachains/src/command.rs b/polkadot-parachains/src/command.rs index 5b56787e1c2a..5432a4c33c61 100644 --- a/polkadot-parachains/src/command.rs +++ b/polkadot-parachains/src/command.rs @@ -575,6 +575,10 @@ impl CliConfiguration for RelayChainCli { self.base.base.rpc_ws_max_connections() } + fn rpc_http_threads(&self) -> Result> { + self.base.base.rpc_http_threads() + } + fn rpc_cors(&self, is_dev: bool) -> Result>> { self.base.base.rpc_cors(is_dev) }