mirror of https://github.com/zulip/zulip.git
d51afcf485
We use the EMAIL_TIMEOUT django setting to timeout after 15s of trying to send an email. This will nicely lead to retries in the email_senders queue, due to the retry_send_email_failures decorator. smtlib documentation suggests that socket.timeout can be raised as the result of timing out, so in attempts I'm getting smtplib.SMTPServerDisconnected. Either way, seems appropriate to add socket.timeout to the exception that we catch. |
||
---|---|---|
.. | ||
__init__.py | ||
queue_processors.py |