polling & connection timeouts (#1910)

This commit is contained in:
Nikolay Volf
2016-08-10 22:07:01 +03:00
committed by Gav Wood
parent 417b70f90f
commit 588529e578
2 changed files with 5 additions and 7 deletions

View File

@@ -80,9 +80,6 @@ pub struct RunCmd {
}
pub fn execute(cmd: RunCmd) -> Result<(), String> {
// create supervisor
let mut hypervisor = modules::hypervisor();
// increase max number of open files
raise_fd_limit();
@@ -165,6 +162,9 @@ pub fn execute(cmd: RunCmd) -> Result<(), String> {
net_conf.boot_nodes = spec.nodes.clone();
}
// create supervisor
let mut hypervisor = modules::hypervisor();
// create client service.
let service = try!(ClientService::start(
client_config,