Skip to content

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

test(cron): reformat atomic load in headless descendant test

Steven Enamakel4980f109953d
diff --git a/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs b/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs
index 8e9d868d53..20ed69d89f 100644
--- a/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs
+++ b/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs
@@ -38,7 +38,10 @@ impl CronChildModel {
async fn wait_for_release(&self) {
loop {
let notified = self.child_release.notified();
- if self.child_released.load(std::sync::atomic::Ordering::SeqCst) {
+ if self
+ .child_released
+ .load(std::sync::atomic::Ordering::SeqCst)
+ {
return;
}
notified.await;