mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
The phone gave a direct socket 5 s from open to authenticated, while the desktop keeps an unauthenticated socket for 10 s. On a slow link (a handshake is two round trips, so ~2.5 s RTT is enough) the phone dropped the socket the desktop would have accepted, then redialed into the same deadline forever: the 'Can't connect' loop a test documented. Both ends now share PAIRED_E2EE_HANDSHAKE_DEADLINE_MS (10 s). A link that needs 6 s to authenticate now connects on the first dial; one that never authenticates still escalates the same way, 5 s later. Relay dials are unaffected: they keep their own stage budgets and race the direct dial after 2.5 s.