Skip to content

Conversation

@LPLafontaineB
Copy link
Contributor

@LPLafontaineB LPLafontaineB commented Jan 31, 2023

Description

This PR uses the ConnectionMethod to simplify the reconnection flow. Now ClientReconnectingState doesn't need to know if the client was connected through Lobby or Direct IP before attempting to reconnect and instead offloads that responsibility to the ConnectionMethod that it was initially configured with. This also adds the possibility to fail early and stop retrying to reconnect if the lobby doesn't exist anymore.

Issue Number(s)

None

Contribution checklist

  • [n/a] Tests have been added for boss room and/or utilities pack
  • Release notes have been added to the project changelog file and/or package changelog file
  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • [n/a] JIRA ticket ID is in the PR title or at least one commit message
  • [n/a] Include the ticket ID number within the body message of the PR to create a hyperlink
  • [n/a] An Index entry has been added in readme.md if applicable

@LPLafontaineB LPLafontaineB added 2-Easy This PR is trivial and can be reviewed quickly 1-Needs Review PR needs attention from the assignee and reviewers labels Feb 7, 2023
@LPLafontaineB LPLafontaineB marked this pull request as ready for review February 7, 2023 14:36
fernando-cortez
fernando-cortez previously approved these changes Mar 1, 2023
Copy link
Collaborator

@fernando-cortez fernando-cortez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fernando-cortez fernando-cortez added 3-Good to Merge and removed 1-Needs Review PR needs attention from the assignee and reviewers labels Mar 1, 2023
@LPLafontaineB LPLafontaineB enabled auto-merge (squash) March 1, 2023 17:53
@LPLafontaineB LPLafontaineB merged commit db90813 into develop Mar 6, 2023
@LPLafontaineB LPLafontaineB deleted the feature/simplifying-reconnection branch March 6, 2023 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2-Easy This PR is trivial and can be reviewed quickly 3-Good to Merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants