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

Reconnection logic #50

Merged
merged 2 commits into from
Jul 29, 2022
Merged

Reconnection logic #50

merged 2 commits into from
Jul 29, 2022

Conversation

jordeu
Copy link
Member

@jordeu jordeu commented Jul 29, 2022

  • Heartbeat every 45 seconds
  • First non-blocking reconnect after 2 seconds.

@jordeu jordeu self-assigned this Jul 29, 2022
@pditommaso
Copy link
Collaborator

Is it not worth to add config setting for this? Env variable or java sys property should be fine

@jordeu
Copy link
Member Author

jordeu commented Jul 29, 2022

I've added the micronaut way, with a @Value and a env var. I was a bit sceptical to make it work with GraalVM binary... but it is working! (I had lot's of problems with the injects when doing the first version).

@pditommaso pditommaso merged commit 68151a6 into master Jul 29, 2022
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.

2 participants