Skip to content

Commit

Permalink
Add more debug messages to alpenrose
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Apr 24, 2024
1 parent 82cfde4 commit 4212ea0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/alpenrose/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ pub struct RealtimeFeedFetch {
async fn main() -> Result<(), Box<dyn Error + Sync + Send>> {
let this_worker_id = Arc::new(Uuid::new_v4().to_string());

println!("Worker id {}", this_worker_id);

// if a node drops out, ingestion will be automatically reassigned to the other nodes

//hands off data to aspen to do additional cleanup and processing, Aspen will perform association with the GTFS schedule data + update dynamic graphs for routing and map representation,
Expand All @@ -95,6 +97,8 @@ async fn main() -> Result<(), Box<dyn Error + Sync + Send>> {
.await
.unwrap();

println!("Connected to zookeeper!");

let conn_pool = arc_conn_pool.as_ref();
let conn_pre = conn_pool.get().await;
let conn = &mut conn_pre?;
Expand Down

0 comments on commit 4212ea0

Please sign in to comment.