Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(receiver): Reconnect websocket if receiving errors out #20

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

kalbasit
Copy link
Owner

@kalbasit kalbasit commented Dec 21, 2024

Adds automatic reconnection to Signal API when connection is lost

The client now attempts to reconnect to the Signal API when the connection drops, with a 1-second delay between retries. The websocket connection is now properly managed through a dedicated Connect() method.

ref #8

Co-authored-by: Mathias Fredriksson [email protected]

@kalbasit kalbasit marked this pull request as ready for review December 21, 2024 20:10
@kalbasit kalbasit force-pushed the server-should-start-receive-loop branch 2 times, most recently from 5462eb5 to dd65e22 Compare December 21, 2024 20:49
@kalbasit kalbasit force-pushed the reconnect-on-errors branch from 22ebc65 to ca2a98e Compare December 21, 2024 20:49
@kalbasit kalbasit changed the base branch from server-should-start-receive-loop to graphite-base/20 December 21, 2024 20:52
@kalbasit kalbasit force-pushed the reconnect-on-errors branch from ca2a98e to bb2e063 Compare December 21, 2024 20:52
@kalbasit kalbasit changed the base branch from graphite-base/20 to main December 21, 2024 20:53
@kalbasit kalbasit force-pushed the reconnect-on-errors branch from bb2e063 to d4ac8fe Compare December 21, 2024 20:53
@kalbasit kalbasit merged commit 457870c into main Dec 21, 2024
3 checks passed
Copy link
Owner Author

Merge activity

  • Dec 21, 3:56 PM EST: A user merged this pull request with Graphite.

@kalbasit kalbasit deleted the reconnect-on-errors branch December 21, 2024 20:56
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.

1 participant