-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ConfigMap watching drops connection silently #547
Comments
when the connection drops, the result channel closes, and your code is responsible for re-establishing the watch /close |
@liggitt: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@liggitt do you have an example of the code needed please? |
you can use:
|
Hello,
I'm have an issue watching configMaps. After a while the connection will drop silently without any warning and the server will stop receiving updates through the ResultChan(). I've tried using TimeoutSeconds to keep the timeout to be much longer but it seems hacky to put a very large number there.
Is there any way to catch a dropped connection so i can schedule a reconnect?
Here is my code. Any insights will be helpful, thank you.
The text was updated successfully, but these errors were encountered: