Increase the number of JSON RPC service threads (#10075)

automerge
This commit is contained in:
Michael Vines
2020-05-15 15:00:41 -07:00
committed by GitHub
parent 198f87ffea
commit 3b526cc2de

View File

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