rpc-http-threads cli arg (#8890)

* Add optional `rpc-http-threads` cli arg

* Update `http::ServerBuilder`threads
This commit is contained in:
tgmichel authored and GitHub committed 2021-06-08 11:18:57 +00:00
1 parent 74793a83a5
commit a4bfd40a1b
8 files changed
+27 -1

No files matched your search

+1
View File
@@ -381,6 +381,7 @@ fn start_rpc_servers<
config.rpc_http,
|address| sc_rpc_server::start_http(
address,
config.rpc_http_threads,
config.rpc_cors.as_ref(),
gen_handler(
deny_unsafe(&address, &config.rpc_methods),