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

Enable retries on active job strategy #8

Merged
merged 5 commits into from
Oct 21, 2024

Conversation

MiaSinek
Copy link
Contributor

Added retries to the Userlist::Push::Strategies::ActiveJob::Worker to handle Timeout::Error exceptions.

The worker will now retry the job with polynomial backoff, up to 10 attempts.

This ensures more resilience during temporary network issues or API timeouts.

CHANGELOG.md Outdated Show resolved Hide resolved
spec/userlist/push/strategies/active_job/worker_spec.rb Outdated Show resolved Hide resolved
@benedikt benedikt merged commit 9dcf386 into main Oct 21, 2024
4 checks passed
@richardkmiller
Copy link

🎉 Thanks! Nice change!

@benedikt benedikt deleted the enable-retries-on-active-job-strategy branch October 28, 2024 11:22
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