diff --git a/coordinator/Cargo.lock b/coordinator/Cargo.lock index 6d16881ac..1ecc0b747 100644 --- a/coordinator/Cargo.lock +++ b/coordinator/Cargo.lock @@ -2183,8 +2183,9 @@ dependencies = [ [[package]] name = "near-lake-framework" -version = "0.0.0" -source = "git+https://github.com/near/near-lake-framework-rs?branch=aws-logging#96f2d949c5cbdabce9b848c1ec93895369106355" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db8b91504ca51c85273060bb1d88229d49deb1363fa74f1750e9258af82e887d" dependencies = [ "anyhow", "async-stream", @@ -2192,6 +2193,7 @@ dependencies = [ "aws-config", "aws-credential-types", "aws-sdk-s3", + "aws-smithy-types", "aws-types", "derive_builder", "futures", diff --git a/coordinator/src/main.rs b/coordinator/src/main.rs index 14aa312f3..d9ad04603 100644 --- a/coordinator/src/main.rs +++ b/coordinator/src/main.rs @@ -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(®istry, &redis_client, &mut block_stream_handler).await?; - - Ok(()) + loop { + synchronise_registry_config(®istry, &redis_client, &mut block_stream_handler).await?; + } } async fn synchronise_registry_config(