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

Replace backoff in elastic requests #809

Open
a-ovchinnikov opened this issue Jan 31, 2025 · 0 comments
Open

Replace backoff in elastic requests #809

a-ovchinnikov opened this issue Jan 31, 2025 · 0 comments
Labels
my first issue Good for newcomers nice to have A non-blocking, but nice to have feature

Comments

@a-ovchinnikov
Copy link
Contributor

a-ovchinnikov commented Jan 31, 2025

Currently backoff is used for retrying failed requests to external services. The project appears abandoned. It also does not play well with UTs when more requests are made elastic. At the same time the necessary functionality could be trivially added as an utility decorator and maintained in project's code base.

Acceptance criteria:

  1. retry decorator is added with the following capabilities:
    a. linear and exponential retries;
    b. adjustable number of retries;
    c. adjustable delay;
    d. adjustable retry conditions (i.e. ability to select on which exceptions to retry).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
my first issue Good for newcomers nice to have A non-blocking, but nice to have feature
Development

No branches or pull requests

2 participants