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

Add the configure option for retries, which is easier to understand #225

Open
StoneDot opened this issue May 9, 2024 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@StoneDot
Copy link
Contributor

StoneDot commented May 9, 2024

As discussed in #196 (comment), the current retry configuration can be improved to be easily understood and written. The following is the current configuration.

retry:
  default:
    initial_backoff:
      secs: 0
      nanos: 500000000

We can improve it using enum with untagged. For instance, the following is the potential acceptable configuration.

retry:
  default:
    initial_backoff: 0.5 # This means 500 ms
retry:
  default:
    initial_backoff: 0.1s # This means 500 ms
retry:
  default:
    initial_backoff: 100ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant