mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 14:01:02 +00:00
Add rpc_http_threads (#548)
This commit is contained in:
@@ -217,6 +217,10 @@ impl sc_cli::CliConfiguration for NormalizedRunCmd {
|
|||||||
self.base.rpc_ws_max_connections()
|
self.base.rpc_ws_max_connections()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn rpc_http_threads(&self) -> sc_cli::Result<Option<usize>> {
|
||||||
|
self.base.rpc_http_threads()
|
||||||
|
}
|
||||||
|
|
||||||
fn rpc_cors(&self, is_dev: bool) -> sc_cli::Result<Option<Vec<String>>> {
|
fn rpc_cors(&self, is_dev: bool) -> sc_cli::Result<Option<Vec<String>>> {
|
||||||
self.base.rpc_cors(is_dev)
|
self.base.rpc_cors(is_dev)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -575,6 +575,10 @@ impl CliConfiguration<Self> for RelayChainCli {
|
|||||||
self.base.base.rpc_ws_max_connections()
|
self.base.base.rpc_ws_max_connections()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn rpc_http_threads(&self) -> Result<Option<usize>> {
|
||||||
|
self.base.base.rpc_http_threads()
|
||||||
|
}
|
||||||
|
|
||||||
fn rpc_cors(&self, is_dev: bool) -> Result<Option<Vec<String>>> {
|
fn rpc_cors(&self, is_dev: bool) -> Result<Option<Vec<String>>> {
|
||||||
self.base.base.rpc_cors(is_dev)
|
self.base.base.rpc_cors(is_dev)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user