Skip to content

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

fix(store): remove duplicate runs in cron store

Steven Enamakel514917304914
diff --git a/crates/openhuman-core/src/cron/store/runs.rs b/crates/openhuman-core/src/cron/store/runs.rs
index 05ce45f46e..a9c50e6dfa 100644
--- a/crates/openhuman-core/src/cron/store/runs.rs
+++ b/crates/openhuman-core/src/cron/store/runs.rs
@@ -8,8 +8,8 @@ use anyhow::{Context, Result};
use chrono::{DateTime, Utc};
use rusqlite::params;
-const MAX_CRON_OUTPUT_BYTES: usize = 16 * 1024;
-const TRUNCATED_OUTPUT_MARKER: &str = "\n...[truncated]";
+pub(crate) const MAX_CRON_OUTPUT_BYTES: usize = 16 * 1024;
+pub(crate) const TRUNCATED_OUTPUT_MARKER: &str = "\n...[truncated]";
pub fn record_last_run(
config: &Config,