-
Notifications
You must be signed in to change notification settings - Fork 5k
[Improvement][Server] Change the registry session timeout #6660
Copy link
Copy link
Closed
Labels
featurenew featurenew feature
Description
Search before asking
- I had searched in the issues and found no similar feature requirement.
Description
Now the default registry timeout is 1s, which is short for zk, and it will be reset a negotiated timeout by zk server, because zk.minSessionTimeout = 2 * tickTimeout and zk.maxSessionTimeout = 20 * tickTimeout.
I think the default session timeout param should be improved to control by client better, not only for zk.
Now the defaule hearbeat interval is 10s, So maybe the registry session timeout should set to 30s.
BTW, Curator.DEFAULT_SESSION_TIMEOUT_MS = 60 * 1000 and Curator.DEFAULT_CONNECTION_TIMEOUT_MS = 15 * 1000.
Use case
No response
Related issues
No response
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featurenew featurenew feature