From 1b885355fd351b5080f6593b33b4d04eeed878bb Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Mon, 20 Dec 2021 11:28:53 +0100 Subject: [PATCH] Fix log messages for slot update retries --- lib/src/postgres_target.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/postgres_target.rs b/lib/src/postgres_target.rs index 1715c30..4761c31 100644 --- a/lib/src/postgres_target.rs +++ b/lib/src/postgres_target.rs @@ -434,12 +434,12 @@ pub async fn init( metric_retries.increment(); error_count += 1; if error_count - 1 < config.retry_query_max_count { - warn!("failed to process account write, retrying: {:?}", err); + warn!("failed to process slot update, retrying: {:?}", err); tokio::time::sleep(Duration::from_secs(config.retry_query_sleep_secs)) .await; continue; } else { - error!("failed to process account write, exiting"); + error!("failed to process slot update, exiting"); std::process::exit(1); } };