Increase threads to 4.

This commit is contained in:
Gav Wood 2016-03-22 18:43:06 +01:00
parent 6701aff2a2
commit 7624bcf49e
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"))]