Commit 434a315
committed
Move already had notification sending to after commit
`ImmunisationImport` was triggering the `AlreadyHadNotificationSender`
within the transaction that wraps the import process. This could
theoretically lead to issues with the email job getting queued in
Sidekiq before the data has been committed to the database. This
is a possible reason for some of the missing emails that have been
reported in prod and test.
Jira-Issue: MAV-34181 parent 38b34df commit 434a315
2 files changed
Lines changed: 12 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
220 | 224 | | |
221 | 225 | | |
222 | 226 | | |
223 | 227 | | |
224 | 228 | | |
225 | 229 | | |
226 | 230 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | 231 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
542 | 550 | | |
543 | 551 | | |
544 | 552 | | |
| |||
576 | 584 | | |
577 | 585 | | |
578 | 586 | | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | 587 | | |
588 | 588 | | |
0 commit comments