zulip/zproject
Mateusz Mandera d51afcf485 emails: Improve handling of timeouts when sending.
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.
2020-07-03 16:52:50 -07:00
..
jinja2 python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
__init__.py
backends.py backends: Fix a type: ignore issue. 2020-06-30 18:58:23 -07:00
computed_settings.py emails: Improve handling of timeouts when sending. 2020-07-03 16:52:50 -07:00
config.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
configured_settings.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
default_settings.py notifications: Remove support for unbatched push removal events. 2020-06-30 10:12:27 -07:00
dev_settings.py billing: Add option to request a sponsorship in /upgrade. 2020-07-01 16:45:38 -07:00
dev_urls.py urls: Migrate dev urls to use modern django patterns. 2020-06-23 15:02:44 -07:00
email_backends.py email: Migrate to new Python ≥ 3.3 email API. 2020-06-14 20:24:06 -07:00
legacy_urls.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
prod_settings_template.py prod_settings_template: Fix confusing {random_token} in comment. 2020-07-01 12:25:21 -07:00
settings.py python: Add noqa comments for the specific star imports we allow. 2020-06-11 15:36:43 -07:00
terms.md.template
test_extra_settings.py calls: Add Big Blue Button as a Video Call Provider. 2020-06-22 16:19:07 -07:00
test_settings.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
urls.py pointer: Remove pointer from API and page_params. 2020-06-27 16:44:38 -07:00
wsgi.py wsgi: Try to avoid extra django.setup calls. 2020-06-18 20:16:34 -07:00