node: delay after launch
This commit is contained in:
parent
7207fb56bc
commit
fc60d907d2
1 changed files with 4 additions and 0 deletions
|
@ -585,6 +585,10 @@ fn start_node_server() -> Result<Server, Error> {
|
|||
}
|
||||
|
||||
let server_result = Server::new(server_config, None, api_chan);
|
||||
|
||||
// Delay after server start.
|
||||
thread::sleep(Duration::from_millis(5000));
|
||||
|
||||
server_result
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue