Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(cron): use configured scheduler scope when starting scheduler

Steven Enamakel1492bd230a02
diff --git a/crates/openhuman-core/src/cron/scheduler/dispatcher.rs b/crates/openhuman-core/src/cron/scheduler/dispatcher.rs
index 8631d51989..afd91d288a 100644
--- a/crates/openhuman-core/src/cron/scheduler/dispatcher.rs
+++ b/crates/openhuman-core/src/cron/scheduler/dispatcher.rs
@@ -222,7 +222,7 @@ impl JobDispatcher {
max_tasks: config.scheduler.max_tasks,
};
let request = StartScheduler {
- scope: CLAIM_SCOPE.to_string(),
+ scope: scope.scheduler_scope(),
callback: host.address(),
config: scheduler_config(config),
manual_ticks: true,