The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(profiles): describe the per-profile turn gate
Steven Enamakel5af9bf5465f9
diff --git a/crates/openhuman-core/src/profiles/README.md b/crates/openhuman-core/src/profiles/README.mdindex 83894950d1..4ee5d63502 100644--- a/crates/openhuman-core/src/profiles/README.md+++ b/crates/openhuman-core/src/profiles/README.md@@ -485,3 +485,13 @@ nothing to sweep.On shutdown a sweep in flight is not awaited: its claims lapse after tenminutes and another node may then run the interrupted occurrence again.++## One turn at a time per profile++Chat turns (`web_chat::run_chat_task`), relayed-message turns+(`run_relay_turn`) and the cron sweep's runs of one profile take that+profile's gate ([`turn_gate`](turn_gate.rs)) for the whole turn, so they+queue instead of overlapping. A due cron occurrence waits behind an in-flight+chat turn rather than being skipped; the sweep takes the gate before claiming+the occurrence so the wait does not use up the claim lease. Different+profiles never contend, and work with no profile (desktop) is not gated.