From 799828b51ec33182b6e82f503dcae46fdfea07da Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Tue, 22 Mar 2016 18:43:06 +0100 Subject: [PATCH] Increase threads to 4. --- parity/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/parity/main.rs b/parity/main.rs index e029124c4..946e409bb 100644 --- a/parity/main.rs +++ b/parity/main.rs @@ -269,7 +269,9 @@ fn setup_rpc_server( } } } - Some(server.start_http(url, cors_domain, 1)) + // 4 is the number of threads which also happens to be the maximum number of concurrent + // connections our jsonrpc can manage. + Some(server.start_http(url, cors_domain, 4)) } #[cfg(not(feature = "rpc"))]