Increase the number of JSON RPC service threads (#9551) (#9561)

automerge
This commit is contained in:
mergify[bot]
2020-04-17 14:48:32 -07:00
committed by GitHub
parent 8f54d409e2
commit 2ad435587a

View File

@ -287,7 +287,7 @@ impl JsonRpcService {
genesis_hash,
},
)
.threads(4)
.threads(num_cpus::get())
.cors(DomainsValidation::AllowOnly(vec![
AccessControlAllowOrigin::Any,
]))