Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

[feature]: new option WithPingCountWithinSessionTimeout #214

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ikenchina
Copy link

New option WithPingCountWithinSessionTimeout to configurate how many pings within a session timeout.
Default ping's count were only two pings within a session timeout, it is not enough.
ZK client want to know ping is failed sonner rather than later somethings.
Generally, set your session(or election) timeout to at least 5 to 10 times your heartbeat interval in a distributed system.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant