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

Update term timeout #19

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

Conversation

Parsifal22
Copy link
Contributor

I rewrote the _on_term_timeout(self) method in much the same way as Pavel did in the libcyphal project.
In a nutshell. In the rewritten version, the method is called more often and sends a heartbeat to only one follower. If the follower fails to complete the task within the allotted time (if it is not in the cluster or simply stalls), then with the next call to _on_election_timeout(self) it cancels the heartbeat request and sends a heartbeat to another follower.

@Parsifal22
Copy link
Contributor Author

Parsifal22 commented Jul 30, 2024

I've added a new test case for rewritten methode _on_term_timeout(self)

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.

1 participant