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

feat(billing): Retry finalize jobs on Sequence error #2364

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

julienbourdeau
Copy link
Contributor

Description

When finalizing an invoice, we need to assign an invoice number, following a sequence. This requires a lock on the database which can fail. Other similar jobs already retry on this error.

Maybe we should even retry any jobs with this error. 🤔

@julienbourdeau julienbourdeau self-assigned this Aug 2, 2024
@julienbourdeau julienbourdeau merged commit 599194c into main Aug 2, 2024
6 checks passed
@julienbourdeau julienbourdeau deleted the feat/retry-finalize-job branch August 2, 2024 14:50
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