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-embed/src/runtime/seams_tests.rs

Steven Enamakel65a5d2edb2eb
diff --git a/crates/openhuman-embed/src/runtime/seams_tests.rs b/crates/openhuman-embed/src/runtime/seams_tests.rs
index 5c21ea698a..00916d0ef7 100644
--- a/crates/openhuman-embed/src/runtime/seams_tests.rs
+++ b/crates/openhuman-embed/src/runtime/seams_tests.rs
@@ -250,7 +250,8 @@ fn builder_options_collect_into_the_seams() {
assert!(builder.seams.server_launcher.is_none());
}
-static STORAGE_LOCK: tokio::sync::Mutex<()> = tokio::sync::Mutex::new(());
+static STORAGE_LOCK: std::sync::LazyLock<tokio::sync::Mutex<()>> =
+ std::sync::LazyLock::new(|| tokio::sync::Mutex::new(()));
async fn memory_backend() -> Arc<dyn openhuman_core::storage::StorageBackend> {
openhuman_core::storage::open("memory")