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

misc: Retry RefreshOngoingBalanceJob if stale object #2691

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

rsempe
Copy link
Collaborator

@rsempe rsempe commented Oct 15, 2024

This pull request includes a small change to the app/jobs/wallets/refresh_ongoing_balance_job.rb file. The change adds a retry mechanism for the RefreshOngoingBalanceJob class to handle ActiveRecord::StaleObjectError with a polynomial backoff strategy.

@rsempe rsempe added the Wallet label Oct 15, 2024
@rsempe rsempe merged commit 6c7fa9c into main Oct 15, 2024
6 checks passed
@rsempe rsempe deleted the stale-wallet branch October 15, 2024 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants