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 #67: solved a bug where reconnect time would be waited even for succesful connections #71

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

51-code
Copy link

@51-code 51-code commented Jun 4, 2024

Solves issue #67.

There was a bug introduced in #66 where the Thread.sleep() meant to be called for a failed attempt at connecting would also be called once for a successful attempt.

Moved the sleep function call inside the catch block where the failed connection is handled.

@51-code 51-code added the bug Something isn't working label Jun 4, 2024
@51-code 51-code requested a review from kortemik June 4, 2024 08:15
@51-code 51-code self-assigned this Jun 4, 2024
@51-code 51-code linked an issue Jun 4, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests using a RELP server are slow
1 participant