Timeout configuration #1777
Unanswered
gsanchezgavier
asked this question in
Q&A
Replies: 1 comment 1 reply
-
i guess this approach makes sense on paper. doesn't sound too hard to do on the user side, and i've never heard of anyone else needing this. that said, i am also very curious as to why oneshot discovery would time out! It's generally a single query, not normally one that interacts with timeout rules, so very weird that you have that dangling, non-watch query, waiting for almost 5 minutes. Maybe it would make sense if you were doing discovery on some kind of extension apiserver, and the extension isn't actually doing the work? I dunno. Any particular CRs you are running discovery on? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context:
Hi, our application is currently initialising a single client with default timeouts (connection 30s, write/read 295s). This client is used for reflectors as well as other requests inside our application.
Some times we see API responses, like the call to pinned_kind timing out after 295s and we want to reduce that (fail faster).
Issue:
If we reduce the client read/write timeout , our reflectors start timing out.
Question:
So we are thinking to change our approach and create a client that will be used only for reflectors (with default timeout of 295s) and create another client for any other non-watch operation with a smaller timeout.
Does it make sense? is there any other better way to approach this issue?
Beta Was this translation helpful? Give feedback.
All reactions