node: remove delay after server start

This commit is contained in:
ardocrat 2024-10-12 15:24:15 +03:00
parent c13195bd61
commit 18f52f877a

View file

@ -627,10 +627,6 @@ fn start_node_server() -> Result<Server, Error> {
let api_chan: &'static mut (oneshot::Sender<()>, oneshot::Receiver<()>) =
Box::leak(Box::new(oneshot::channel::<()>()));
let server_result = Server::new(server_config, None, api_chan);
// Delay after server start.
thread::sleep(Duration::from_millis(5000));
server_result
}