Skip to content

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

fix(cron): clone binding before narrowing to agent jobs

Steven Enamakel0dd7e97a8b53
diff --git a/crates/openhuman-core/src/cron/scheduler.rs b/crates/openhuman-core/src/cron/scheduler.rs
index d4943671c8..9f19a9f2ab 100644
--- a/crates/openhuman-core/src/cron/scheduler.rs
+++ b/crates/openhuman-core/src/cron/scheduler.rs
@@ -391,7 +391,7 @@ impl JobDispatcher {
/// Restrict the dispatcher to agent jobs (the hosted-profile sweep).
#[must_use]
pub(crate) fn agent_only(mut self) -> Self {
- self.binding = self.binding.agent_only();
+ self.binding = self.binding.clone().agent_only();
self
}