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

Deprecate --default-timeout and --retry-interval #832

Open
wants to merge 3 commits into
base: global-timeout
Choose a base branch
from

Conversation

kke
Copy link
Contributor

@kke kke commented Feb 5, 2025

Use the new --timeout flag instead. Changing the retry interval doesn't seem to be very useful.

Also changes the timeout flag to allow --timeout=0 which will wait forever (100 years should be forever enough. A context.WithCancel wasn't used because some other code relies on context.Deadline() to be non-nil).

The old flags were not removed but just set hidden for now.

@kke kke added the chore Housekeeping / typo / code quality improvements label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Housekeeping / typo / code quality improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant