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

automerge
This commit is contained in:
Michael Vines 2020-04-17 12:37:33 -07:00 committed by GitHub
parent cd4927053e
commit 55ed52a71d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,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,
])) ]))