Skip to content

Refactor connect logic#185

Merged
marcelveldt merged 1 commit intomainfrom
refactor-connect-logic
Jun 14, 2024
Merged

Refactor connect logic#185
marcelveldt merged 1 commit intomainfrom
refactor-connect-logic

Conversation

@marcelveldt
Copy link
Copy Markdown
Member

Automatically reconnect from the library itself is a bad idea as the state may get out of sync.
Refactor the connect logic so that an explicit listener is used on which you can act if the connection gets lost.

Also account for large messages

reconnect after failure is a lib consumer responsibility
@marcelveldt marcelveldt added enhancement New feature or request breaking-change This PR contains one ore more breaking changes labels Jun 14, 2024
@marcelveldt marcelveldt merged commit 1753652 into main Jun 14, 2024
@marcelveldt marcelveldt deleted the refactor-connect-logic branch June 14, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change This PR contains one ore more breaking changes enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant