mirror of
https://github.com/JonasunderscoreJones/jonas_jones-api.git
synced 2025-10-22 16:59:17 +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();
|
||||
});
|
||||
|
||||
task::spawn(async move {
|
||||
while let Some(line) = rx.recv().await {
|
||||
Logger::info(&format!("[/v1/kcomebacks/update]: {}", line));
|
||||
}
|
||||
});
|
||||
// task::spawn(async move {
|
||||
// while let Some(line) = rx.recv().await {
|
||||
// Logger::info(&format!("[/v1/kcomebacks/update]: {}", line));
|
||||
// }
|
||||
// });
|
||||
Logger::info("kcomebacks updated");
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
@ -200,11 +201,12 @@ fn run_projects_command() -> Result<(), std::io::Error> {
|
|||
child.wait().unwrap();
|
||||
});
|
||||
|
||||
task::spawn(async move {
|
||||
while let Some(line) = rx.recv().await {
|
||||
Logger::info(&format!("[/v1/projects/update]: {}", line));
|
||||
}
|
||||
});
|
||||
// task::spawn(async move {
|
||||
// while let Some(line) = rx.recv().await {
|
||||
// Logger::info(&format!("[/v1/projects/update]: {}", line));
|
||||
// }
|
||||
// });
|
||||
Logger::info("projects updated");
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
@ -238,11 +240,12 @@ fn run_likedsongs_command() -> Result<(), std::io::Error> {
|
|||
child.wait().unwrap();
|
||||
});
|
||||
|
||||
task::spawn(async move {
|
||||
while let Some(line) = rx.recv().await {
|
||||
Logger::info(&format!("[/v1/synclikedsongs]: {}", line));
|
||||
}
|
||||
});
|
||||
// task::spawn(async move {
|
||||
// while let Some(line) = rx.recv().await {
|
||||
// Logger::info(&format!("[/v1/synclikedsongs]: {}", line));
|
||||
// }
|
||||
// });
|
||||
Logger::info("liked songs synced");
|
||||
|
||||
Ok(())
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue