println
This commit is contained in:
parent
9a3e8d7e31
commit
a3eef3bc11
2 changed files with 4 additions and 4 deletions
|
@ -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()
|
||||
);
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue