-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Don't Ping on Handshake Connection #39076
Don't Ping on Handshake Connection #39076
Conversation
* It does not make sense to run pings on the handshake connection * Set the ping interval to `-1` to deactivate pings on it
Pinging @elastic/es-distributed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only other place we use buildSingleChannelProfile(TransportRequestOptions.Type, TimeValue, TimeValue)
is in UnicastZenPing
. I think this should be adjusted similarly (it's used in Zen1IT
today) and we can then remove that overload entirely. Also buildSingleChannelProfile(TransportRequestOptions.Type, boolean)
is unused.
Oh wait, that's gone in |
@DaveCTurner alright, adjusted the other spot as well and removed the unused overloads :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Don't Ping on Handshake Connection * It does not make sense to run pings on the handshake connection * Set the ping interval to `-1` to deactivate pings on it
-1
to deactivate pings on it