Skip to content

fix(charges): Defer cascade enqueue until transaction commit#5563

Merged
rsempe merged 1 commit into
mainfrom
bil-37
May 26, 2026
Merged

fix(charges): Defer cascade enqueue until transaction commit#5563
rsempe merged 1 commit into
mainfrom
bil-37

Conversation

@rsempe

@rsempe rsempe commented May 21, 2026

Copy link
Copy Markdown
Collaborator

Wrap the Charges::UpdateChildrenJob.perform_later and ChargeFilters::CascadeDispatcher.call invocations inside cascade_charge_update in an after_commit { ... } block

Wrap the `Charges::UpdateChildrenJob.perform_later` and
`ChargeFilters::CascadeDispatcher.call` invocations inside
`cascade_charge_update` in an `after_commit { ... }` block
@rsempe rsempe merged commit b194b65 into main May 26, 2026
12 checks passed
@rsempe rsempe deleted the bil-37 branch May 26, 2026 08:04
D1353L pushed a commit that referenced this pull request May 26, 2026
Wrap the `Charges::UpdateChildrenJob.perform_later` and
`ChargeFilters::CascadeDispatcher.call` invocations inside
`cascade_charge_update` in an `after_commit { ... }` block
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.

2 participants