-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add http2 keep alive in watch (#781)
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29f9aa9
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.
I did hack (reflection) to change the value, but it would be nice to have them available on the KubernetesConfiguration object instead
29f9aa9
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.
this is included in latest release
29f9aa9
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.
I meant being able to set those value on the KubernetesClientConfiguration object instead of having to use the fixed values from this code.
29f9aa9
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.
could you please drop a PR to add them?
it is on my very long todo list
29f9aa9
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.
I'll check. But I still have intermittent disconnections, around once per hour. not a reset by peer error though, just the close event raised on the watch.
I was wondering why you removed the code on the ConnectCallback. I didn't looked it up, but from what I can read in the issue linked the behavior won't be changed on framework side.
29f9aa9
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.
@Paciv tcp keep alive is not easy to setup and replaced with http2 keepalive here