Increase threads to 4.

This commit is contained in:
Gav Wood 2016-03-22 18:43:06 +01:00 committed by arkpar
parent f78e8c3a38
commit 799828b51e
1 changed files with 3 additions and 1 deletions

View File

@ -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"))]