Add await to bootstrap start_all call
Fixes the asynchronous bootstrap process by properly awaiting the start_all method, ensuring all services are started before proceeding.
This commit is contained in:
parent
2af3e3a4b8
commit
fa0fa390bd
1 changed files with 1 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ async fn main() -> std::io::Result<()> {
|
|||
};
|
||||
|
||||
let mut bootstrap = BootstrapManager::new(install_mode.clone(), tenant.clone());
|
||||
let _ = bootstrap.start_all();
|
||||
let cfg = match bootstrap.bootstrap() {
|
||||
Ok(config) => {
|
||||
info!("Bootstrap completed successfully, configuration loaded from database");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue