From eeaf59ac63c25aa5364e8ddec1b100f65fc84175 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 24 Nov 2024 22:04:07 +0100 Subject: [PATCH] feat: add comments Signed-off-by: kjuulh --- crates/churn/src/agent/handlers/scheduled_tasks.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/churn/src/agent/handlers/scheduled_tasks.rs b/crates/churn/src/agent/handlers/scheduled_tasks.rs index 48df8e2..776c815 100644 --- a/crates/churn/src/agent/handlers/scheduled_tasks.rs +++ b/crates/churn/src/agent/handlers/scheduled_tasks.rs @@ -16,19 +16,15 @@ impl ScheduledTasks { ) -> anyhow::Result<()> { tracing::info!("scheduling: {}", task); - // Get plan let plan = Plan::new(); let tasks = plan.tasks().await?; - // For task for task in tasks { - // Check idempotency rules if !task.should_run().await? { tracing::debug!(task = task.id(), "skipping run"); continue; } - // Run task if not valid tracing::info!(task = task.id(), "executing task"); task.execute().await?; }