Skip to content

Commit

Permalink
fixed first setting up the db as meilisearch may not be immediatly re…
Browse files Browse the repository at this point in the history
…ady in k8s
  • Loading branch information
CommanderStorm committed Nov 12, 2023
1 parent c93a54a commit a73961e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/main-api/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
Builder::with_level("info")
.with_target_writer("*", new_writer(tokio::io::stdout()))
.init();
info!("setting up meilisearch");
setup::meilisearch::setup_meilisearch().await?;
info!("setting up the database");
setup::database::setup_database().await?;
info!("setting up meilisearch");
setup::meilisearch::setup_meilisearch().await?;

debug!("setting up metrics");
let labels = HashMap::from([(
Expand Down

0 comments on commit a73961e

Please sign in to comment.