node: remove delay after server start
This commit is contained in:
parent
c13195bd61
commit
18f52f877a
1 changed files with 0 additions and 4 deletions
|
@ -627,10 +627,6 @@ fn start_node_server() -> Result<Server, Error> {
|
||||||
let api_chan: &'static mut (oneshot::Sender<()>, oneshot::Receiver<()>) =
|
let api_chan: &'static mut (oneshot::Sender<()>, oneshot::Receiver<()>) =
|
||||||
Box::leak(Box::new(oneshot::channel::<()>()));
|
Box::leak(Box::new(oneshot::channel::<()>()));
|
||||||
let server_result = Server::new(server_config, None, api_chan);
|
let server_result = Server::new(server_config, None, api_chan);
|
||||||
|
|
||||||
// Delay after server start.
|
|
||||||
thread::sleep(Duration::from_millis(5000));
|
|
||||||
|
|
||||||
server_result
|
server_result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue