zulip/zerver/management
Alex Vandiver 335ef26126 deliver_scheduled_emails: Lock and send emails one-at-a-time.
When pulling batches out of the ScheduledEmail list in a single
transaction, an unexpected failure to send an email will result in the
whole batch getting retried.  This will result in infinite email
sending loops.

Pull a single row off at a time and send it.  We continue without
retries to the next email on EmailNotDeliveredException, but will
retry infinitely on other exceptions.

Fixes: #20943.
2022-02-18 11:13:14 -08:00
..
commands deliver_scheduled_emails: Lock and send emails one-at-a-time. 2022-02-18 11:13:14 -08:00
data emoji: Moved `unified_reactions.json` file. 2017-06-09 16:38:58 -07:00
__init__.py