Ghost/ghost/email-service/lib
Simon Backx 06de10786f
Added automatic database query retrying to the email service (#16218)
fixes https://github.com/TryGhost/Team/issues/2512

The email sending is a crucial flow that should not be interrupted. If
there are database connection issues, we should try to recover from them
automatically by retrying individual database queries and transactions
for a limited amount of time.

This adds a helper method to retry database operations. It limits all
database queries before sending the actual email to maximum 10 minutes.
Database operations that happen after sending have a higher retry time
because they are more crucial to prevent data loss (e.g. saving that an
email was sent).
2023-02-02 14:12:54 +01:00
..
email-templates 🐛 Fixed HTML escaping of feature_image_caption in newsletters 2023-01-30 16:58:59 +01:00
batch-sending-service.js Added automatic database query retrying to the email service (#16218) 2023-02-02 14:12:54 +01:00
email-controller.js 🎨 Add ability to send test email with chosen newsletter (#15783) 2023-01-09 17:48:30 +04:00
email-event-processor.js 🐛 Reduced concurrency when fetching Mailgun events (#16176) 2023-01-25 13:07:01 +01:00
email-event-storage.js Added 100% test coverage for EmailEventStorage 2023-01-10 16:36:41 +01:00
email-renderer.js 🐛 Fixed email segment generation (#16182) 2023-01-25 14:56:37 +01:00
email-segmenter.js Updated unit test coverage for email service (#15913) 2022-12-02 00:33:28 +05:30
email-service.js 🐛 Fixed not reactivating email analytics jobs 2023-01-26 17:35:45 +01:00
mailgun-email-provider.js Improved email error logging (#16184) 2023-01-25 14:57:10 +01:00
sending-service.js Updated email sending to remove invalid recipient emails (#16171) 2023-01-24 16:13:10 +05:30