Skip to content

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

fix(ws_loop): change visibility of reconnect function to pub(crate)

Steven Enamakelaad59e1e4aab
diff --git a/crates/openhuman-core/src/platform/socket/ws_loop/reconnect.rs b/crates/openhuman-core/src/platform/socket/ws_loop/reconnect.rs
index 7a62184789..56234dfdd2 100644
--- a/crates/openhuman-core/src/platform/socket/ws_loop/reconnect.rs
+++ b/crates/openhuman-core/src/platform/socket/ws_loop/reconnect.rs
@@ -47,7 +47,7 @@ pub(super) const FAIL_ESCALATE_THRESHOLD: u32 = 5;
/// fails with "Invalid token") the loop escalates immediately — it does
/// **not** waste the remaining back-off attempts on a provably dead token.
/// This is the fix for TAURI-RUST-9C (#2892).
-pub(super) async fn ws_loop(
+pub(crate) async fn ws_loop(
url: String,
token_provider: TokenProvider,
shared: Arc<SharedState>,