add log for wait
This commit is contained in:
parent
2e67cce1cc
commit
5941f61c8c
1 changed files with 4 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue