Skip to content

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

chore: files changed crates/openhuman-core/src/cron/bus_host.rs

Steven Enamakeldf840ec905bc
diff --git a/crates/openhuman-core/src/cron/bus_host.rs b/crates/openhuman-core/src/cron/bus_host.rs
index 9f693f88b6..70fbf85093 100644
--- a/crates/openhuman-core/src/cron/bus_host.rs
+++ b/crates/openhuman-core/src/cron/bus_host.rs
@@ -113,6 +113,9 @@ impl Binding {
if runs.contains(run_id) {
return;
}
+ if runs.len() >= 1024 {
+ runs.clear();
+ }
runs.insert(run_id.to_string());
crate::core::bus::BUS.publish(crate::core::events::DomainEvent::CronJobTriggered {
job_id: job.id.clone(),