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-app/src/core_process.rs,tests/in_process/config_auth_app_state

Steven Enamakel64cce9e48df6
diff --git a/crates/openhuman-app/src/core_process.rs b/crates/openhuman-app/src/core_process.rs
index 70322437ee..0f8f1fad93 100644
--- a/crates/openhuman-app/src/core_process.rs
+++ b/crates/openhuman-app/src/core_process.rs
@@ -700,16 +700,13 @@ impl CoreProcessHandle {
/// Wait a bounded moment for the server task to finish on its own after
/// its token was cancelled, so the teardown inside it runs.
///
- /// The moment is sized from what that teardown is allowed to take, so the
- /// abort below never lands in the middle of it: the memory exit budget
- /// (`EXIT_BUDGET`, storing buffered conversation turns) plus half a second
- /// for the drain itself. There is no local-runtime
- /// cleanup after it: OpenHuman never spawns Ollama / LM Studio / MLX.
- /// Typical quits finish in milliseconds; the budget is only what a wedged
- /// store may cost.
+ /// Memory buffers nothing (turns are logged as they happen and queued
+ /// background jobs are persisted), so the teardown has nothing slow to
+ /// finish; half a second covers the drain itself. There is no
+ /// local-runtime cleanup after it: OpenHuman never spawns Ollama /
+ /// LM Studio / MLX. Typical quits finish in milliseconds.
async fn drain_task_briefly(&self) {
- const AFTER_MEMORY: Duration = Duration::from_millis(500);
- let budget = openhuman_core::memory::exit::EXIT_BUDGET + AFTER_MEMORY;
+ let budget = Duration::from_millis(500);
let mut task_guard = self.task.lock().await;
let Some(task) = task_guard.as_mut() else {
return;
diff --git a/tests/in_process/config_auth_app_state_connectivity_e2e.rs b/tests/in_process/config_auth_app_state_connectivity_e2e.rs
index 2cbde4803d..d4b4367192 100644
--- a/tests/in_process/config_auth_app_state_connectivity_e2e.rs
+++ b/tests/in_process/config_auth_app_state_connectivity_e2e.rs
@@ -386,7 +386,7 @@ fn config_schema_defaults_cover_dashboard_capability_memory_and_security_shapes(
let memory = MemoryConfig::default();
assert_eq!(memory.engine, "tinyhumans");
assert!(memory.conversations.enabled);
- assert!(memory.context.enabled);
+ assert!(memory.recall.enabled);
let telegram: TelegramConfig = serde_json::from_value(json!({
"bot_token": "bot-token",