From 6a0a7f2e2e98778b65022a94372b0a03a0871527 Mon Sep 17 00:00:00 2001 From: Syfaro Date: Wed, 21 Apr 2021 22:54:08 -0400 Subject: [PATCH] Change more logging messages. --- fuzzysearch-ingest-e621/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuzzysearch-ingest-e621/src/main.rs b/fuzzysearch-ingest-e621/src/main.rs index 6b96865..e807480 100644 --- a/fuzzysearch-ingest-e621/src/main.rs +++ b/fuzzysearch-ingest-e621/src/main.rs @@ -117,13 +117,13 @@ async fn main() -> anyhow::Result<()> { let elapsed = now.elapsed().as_millis() as u64; if post_ids.contains(&lid) { - tracing::warn!(lid, "Page contained latest ID, sleeping"); + tracing::info!(lid, "Page contained latest ID, sleeping"); tokio::time::sleep(std::time::Duration::from_secs(60 * 5)).await; latest_id = None; } else if elapsed < 1000 { let delay = 1000 - elapsed; - tracing::warn!(delay, "Delaying before next request"); + tracing::info!(delay, "Delaying before next request"); tokio::time::sleep(std::time::Duration::from_millis(delay)).await; } }