-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(backend): handle client side HTTP timeouts to fix crashes of meta…
…data-writer. Fixes #8200 (#11361) * Catch exceptions in case of client side timeouts of k8s_watch.stream, adjust timeouts according to the recommendations of the Kubernetes client authors. Signed-off-by: Evgeniy Mamchenko <[email protected]> * Remove catch-all except so that unexpected errors are not hidden from users. Signed-off-by: Evgeniy Mamchenko <[email protected]> * Add pass statement below server-side timeout comment for clarity. Signed-off-by: Evgeniy Mamchenko <[email protected]> * Improve the comment about the server-side timeout. Signed-off-by: Evgeniy Mamchenko <[email protected]> * Replace pass with continue in the handler of ReadTimeoutError. Signed-off-by: Evgeniy Mamchenko <[email protected]> --------- Signed-off-by: Evgeniy Mamchenko <[email protected]>
- Loading branch information
1 parent
11c5d7e
commit 94a21cc
Showing
2 changed files
with
19 additions
and
11 deletions.
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
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