Skip to content

Conversation

mandarini
Copy link
Contributor

Moved from: supabase/realtime-js#507
Author: @bhavyasaggi

What kind of change does this PR introduce?

Add missing heartbeat on connection error.

What is the current behavior?

If the Supabase instance is unreachable during initial realtime connection, there is no status update available.

What is the new behavior?

Trigger a heartbeat-callback with 'error' on connection-error.

@mandarini mandarini requested review from a team as code owners October 8, 2025 13:37
@mandarini mandarini self-assigned this Oct 8, 2025
@mandarini mandarini added the realtime-js Related to the realtime-js library. label Oct 8, 2025
@coveralls
Copy link

Coverage Status

coverage: 95.455% (+13.0%) from 82.5%
when pulling d33afe6 on fix/connError-heartbeat
into 2d0bd77 on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

realtime-js Related to the realtime-js library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants