From fc60d907d26f364877488502a8a8d6feb5a816d8 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Thu, 25 Apr 2024 15:15:10 +0300 Subject: [PATCH] node: delay after launch --- src/node/node.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/node/node.rs b/src/node/node.rs index b04cd3a..98453d7 100644 --- a/src/node/node.rs +++ b/src/node/node.rs @@ -585,6 +585,10 @@ fn start_node_server() -> Result { } let server_result = Server::new(server_config, None, api_chan); + + // Delay after server start. + thread::sleep(Duration::from_millis(5000)); + server_result }