Added code for the service

This commit is contained in:
2026-06-21 22:34:33 -04:00
parent b6abdf7d83
commit a0724de553
3 changed files with 24 additions and 1 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
};
loop {
println!("Do some work");
catapult::service::do_the_work(&app).await;
tokio::time::sleep(tokio::time::Duration::from_secs(catapult::app::SECONDS_TO_SLEEP)).await;
}
}