From 5941f61c8c7be4aabfa774f9ac77a38395238f6e Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sat, 9 Mar 2024 16:49:30 +0100 Subject: [PATCH] add log for wait --- src/youtube/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/youtube/mod.rs b/src/youtube/mod.rs index b5a6468..baa44c7 100644 --- a/src/youtube/mod.rs +++ b/src/youtube/mod.rs @@ -95,6 +95,10 @@ impl Module for YouTubeModule { } } } + log::info!( + "Check complete. Sleeping for {} minutes...", + self.config.interval + ); std::thread::sleep(std::time::Duration::from_secs(self.config.interval * 60)); } }