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

More aggresively retry failures caused by network issues or 500 level errors #96

Open
SeriousBug opened this issue Feb 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@SeriousBug
Copy link
Owner

Right now, if a request fails and gandi-live-dns was running in repeat mode, it will be retried. But the wait between the attempts in repeat mode may be too high, causing long delays in the IP address being updated. This also doesn't help when running in oneshot mode.

Instead, gandi-live-dns should immediately retry failed requests. The retry mechanism should include exponential backoff to avoid hitting the server too hard, and should continue to respect the rate limit as if the requests were successful. It should give up after a configurable number of retries.

@SeriousBug SeriousBug added the enhancement New feature or request label Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant