06de10786f
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). |
||
---|---|---|
.. | ||
email-templates | ||
batch-sending-service.js | ||
email-controller.js | ||
email-event-processor.js | ||
email-event-storage.js | ||
email-renderer.js | ||
email-segmenter.js | ||
email-service.js | ||
mailgun-email-provider.js | ||
sending-service.js |