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

Merged
merged 3 commits into from
Aug 14, 2024

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
Copy link

@MoonBow-1 MoonBow-1 left a comment

Choose a reason for hiding this comment

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

Minor grammar suggestion, otherwise this PR looks good

@51-code 51-code requested a review from MoonBow-1 August 14, 2024 05:05
Copy link

@MoonBow-1 MoonBow-1 left a comment

Choose a reason for hiding this comment

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

LGTM now

@kortemik kortemik merged commit 863b80a into teragrep:main Aug 14, 2024
1 check passed
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
3 participants