Skip to content

Adapt the heartbeat checker to the configuration. #361

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

Merged
merged 4 commits into from
Nov 22, 2024
Merged

Conversation

Gsantomaggio
Copy link
Member

the configuration. In case a heartbeat less than 20 seconds the client could raise missing heart beat. In some case could disconnect the client

the configuration. In case a heartbeat less than 20 seconds the client could raise
missing heart beat. In some case could disconnect the client

Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
@Gsantomaggio Gsantomaggio changed the title Adapt the heartbeat checker to Adapt the heartbeat checker to the configuration. Nov 22, 2024
Copy link
Collaborator

@hiimjako hiimjako left a comment

Choose a reason for hiding this comment

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

I experienced some disconnections due to heartbeat without reconnection, I didn't think it was given by this.

Co-authored-by: Alberto Moretti <58828402+hiimjako@users.noreply.github.com>
@Gsantomaggio
Copy link
Member Author

I experienced some disconnections due to heartbeat without reconnection, I didn't think it was given by this.

That is my fault. I interpreted the missing heartbeat as a correct closure, but it is not.

We need to do the same I did here: rabbitmq/rabbitmq-stream-dotnet-client#394
maybe in another PR

hiimjako
hiimjako previously approved these changes Nov 22, 2024
Co-authored-by: Alberto Moretti <58828402+hiimjako@users.noreply.github.com>
the configuration. In case a heartbeat less than 20 seconds the client could raise
missing heart beat. In some case could disconnect the client

Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
@Gsantomaggio Gsantomaggio merged commit 3b0dc4c into main Nov 22, 2024
4 checks passed
@Gsantomaggio Gsantomaggio deleted the heart_beat_conf branch November 22, 2024 15:09
@Gsantomaggio Gsantomaggio added this to the 1.4.11 milestone Dec 3, 2024
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