From 4375debfa6918ff3e5a4afb0a7bd4946d493e996 Mon Sep 17 00:00:00 2001 From: Kyler Chin <7539174+kylerchin@users.noreply.github.com> Date: Sun, 31 Mar 2024 16:10:38 -0700 Subject: [PATCH] Await metadata calculation --- src/maple/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/maple/main.rs b/src/maple/main.rs index 497716e2..77d1a557 100644 --- a/src/maple/main.rs +++ b/src/maple/main.rs @@ -264,7 +264,7 @@ async fn run_ingest() -> Result<(), Box> { &dmfr_result, &chateau_result, Arc::clone(&arc_conn_pool), - ); + ).await; // 4. Unzip folders println!("Unzipping all gtfs folders"); @@ -436,7 +436,7 @@ async fn run_ingest() -> Result<(), Box> { &dmfr_result, &chateau_result, Arc::clone(&arc_conn_pool), - ); + ).await?; } } else { eprintln!("Not enough data in transitland!");