Skip to content
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

[release-1.30] Explicitly set timeout in each CLI command (#443) #465

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

neoaggelos
Copy link
Contributor

Backport #443 to 1.30 branch

* Explicitly set timeout in each CLI command

Right now, the context deadline is initially set at root level when the command is created.
This causes problems for interactive commands as the deadline may be exceeded while the user inputs the data.
To prevent this, we remove the global timeout and specifically set it in
each command right before the RPC calls.

* update docs
@neoaggelos neoaggelos requested a review from a team as a code owner June 3, 2024 17:48
@neoaggelos neoaggelos merged commit 17a6023 into release-1.30 Jun 3, 2024
13 checks passed
@neoaggelos neoaggelos deleted the 1.30/cli-timeout branch June 3, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants