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:
Rodrigo Rodriguez (Pragmatismo) 2025-10-19 15:42:13 -03:00
parent 2af3e3a4b8
commit fa0fa390bd

View file

@ -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");