mirror of
https://github.com/JonasunderscoreJones/jonas_jones-api.git
synced 2025-10-23 00:59:18 +02:00
removed console spam
This commit is contained in:
parent
a851b18875
commit
852e184b89
1 changed files with 18 additions and 15 deletions
|
@ -161,11 +161,12 @@ fn run_kcomebacks_command() -> Result<(), std::io::Error> {
|
||||||
child.wait().unwrap();
|
child.wait().unwrap();
|
||||||
});
|
});
|
||||||
|
|
||||||
task::spawn(async move {
|
// task::spawn(async move {
|
||||||
while let Some(line) = rx.recv().await {
|
// while let Some(line) = rx.recv().await {
|
||||||
Logger::info(&format!("[/v1/kcomebacks/update]: {}", line));
|
// Logger::info(&format!("[/v1/kcomebacks/update]: {}", line));
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
Logger::info("kcomebacks updated");
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
@ -200,11 +201,12 @@ fn run_projects_command() -> Result<(), std::io::Error> {
|
||||||
child.wait().unwrap();
|
child.wait().unwrap();
|
||||||
});
|
});
|
||||||
|
|
||||||
task::spawn(async move {
|
// task::spawn(async move {
|
||||||
while let Some(line) = rx.recv().await {
|
// while let Some(line) = rx.recv().await {
|
||||||
Logger::info(&format!("[/v1/projects/update]: {}", line));
|
// Logger::info(&format!("[/v1/projects/update]: {}", line));
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
Logger::info("projects updated");
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
@ -238,11 +240,12 @@ fn run_likedsongs_command() -> Result<(), std::io::Error> {
|
||||||
child.wait().unwrap();
|
child.wait().unwrap();
|
||||||
});
|
});
|
||||||
|
|
||||||
task::spawn(async move {
|
// task::spawn(async move {
|
||||||
while let Some(line) = rx.recv().await {
|
// while let Some(line) = rx.recv().await {
|
||||||
Logger::info(&format!("[/v1/synclikedsongs]: {}", line));
|
// Logger::info(&format!("[/v1/synclikedsongs]: {}", line));
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
Logger::info("liked songs synced");
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue