This commit is contained in:
Mylloon 2023-09-03 15:11:07 +02:00
parent 9a3e8d7e31
commit a3eef3bc11
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@ async fn main() {
loop {
let start = Instant::now();
eprintln!("Scheduler starting");
println!("Scheduler starting");
// Prepare threads
let thread_a = thread::spawn(revanced::search);
@ -30,8 +30,8 @@ async fn main() {
let runtime = start.elapsed();
if let Some(remaining) = wait_time.checked_sub(runtime) {
eprintln!("Last run took {:?} to run", runtime);
eprintln!(
println!("Last run took {:?} to run", runtime);
println!(
"Waiting for {} seconds before next run",
remaining.as_secs()
);

View file

@ -1,7 +1,7 @@
use octocrab::models::repos::Release;
pub async fn search() {
eprintln!("{:#?}", get_latest_version().await)
println!("{:#?}", get_latest_version().await)
}
async fn get_latest_version() -> Release {