mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-24 17:40:47 +01:00
8d28ca5c01
The cloud websocket was established once during sign-in and never re-established. On any server restart or transient network drop the connection task exited. yawc itself does not reconnect. This wraps `connect_to_cloud` in a long-lived task that re-establishes the websocket with exponential backoff and jitter, reusing `INITIAL_RECONNECTION_DELAY` and `MAX_RECONNECTION_DELAY` so the behavior matches the Collab reconnect loop in the same module. Part of CLO-713. Release Notes: - N/A