Skip to content

Commit

Permalink
feat: Continuously loop registry config synchronization
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley committed Jan 4, 2024
1 parent a532427 commit 4321413
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions coordinator/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions coordinator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ async fn main() -> anyhow::Result<()> {
let redis_client = RedisClient::connect("redis://127.0.0.1").await?;
let mut block_stream_handler = BlockStreamsHandler::connect().await?;

synchronise_registry_config(&registry, &redis_client, &mut block_stream_handler).await?;

Ok(())
loop {
synchronise_registry_config(&registry, &redis_client, &mut block_stream_handler).await?;
}
}

async fn synchronise_registry_config(
Expand Down

0 comments on commit 4321413

Please sign in to comment.