Fix log messages for slot update retries

This commit is contained in:
Christian Kamm 2021-12-20 11:28:53 +01:00
parent 76e14d0300
commit 1b885355fd
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
};