Skip to content

fix(realtime): auto reconnect after calling disconnect, and several refactors#627

Merged
grdsdev merged 13 commits intomainfrom
realtime-fixes
Jan 8, 2025
Merged

fix(realtime): auto reconnect after calling disconnect, and several refactors#627
grdsdev merged 13 commits intomainfrom
realtime-fixes

Conversation

@grdsdev
Copy link
Copy Markdown
Contributor

@grdsdev grdsdev commented Dec 16, 2024

Changes

  • Fix [Realtime] RealtimeV2 auto-reconnects after calling disconnect() #612
  • Refactor internal WebSocket layer by adopting a new WebSocket protocol with a default implementation using URLSession and a fake implementation which makes it easier to write tests
  • Remove async code where it wasn't mandatory, nor were doing good
  • Refactor tests and add integration test for postgres changes

@grdsdev grdsdev changed the title fix(realtime): TBD fix(realtime): auto reconnect after calling disconnect Jan 6, 2025
@grdsdev grdsdev changed the title fix(realtime): auto reconnect after calling disconnect fix(realtime): auto reconnect after calling disconnect, and several refactors Jan 6, 2025
@grdsdev grdsdev marked this pull request as ready for review January 6, 2025 19:40
@grdsdev grdsdev requested a review from dshukertjr January 7, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Realtime] RealtimeV2 auto-reconnects after calling disconnect()

2 participants