From 18f52f877a991e6b9b453b7ae0e29f9fed2e042d Mon Sep 17 00:00:00 2001 From: ardocrat Date: Sat, 12 Oct 2024 15:24:15 +0300 Subject: [PATCH] node: remove delay after server start --- src/node/node.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/node/node.rs b/src/node/node.rs index 6f36003..3d9e622 100644 --- a/src/node/node.rs +++ b/src/node/node.rs @@ -627,10 +627,6 @@ fn start_node_server() -> Result { 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 }