zulip/zerver
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
..
data_import pointer: Remove pointer from UserProfile. 2020-07-03 13:08:40 +00:00
lib pointer: Remove pointer from UserProfile. 2020-07-03 13:08:40 +00:00
management tornado: Split address from port more carefully. 2020-06-29 22:19:47 -07:00
migrations pointer: Remove pointer from UserProfile. 2020-07-03 13:08:40 +00:00
openapi js_examples: Migrate and test get_streams example. 2020-07-01 17:23:30 -07:00
templatetags refactor: Rename zerver.lib.bugdown to zerver.lib.markdown . 2020-06-26 17:08:37 -07:00
tests pointer: Remove pointer from UserProfile. 2020-07-03 13:08:40 +00:00
tornado tornado: Split address from port more carefully. 2020-06-29 22:19:47 -07:00
views minor: Rename var to max_message_id. 2020-07-03 13:08:40 +00:00
webhooks tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
worker emails: Improve handling of timeouts when sending. 2020-07-03 16:52:50 -07:00
__init__.py
apps.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
context_processors.py auth: Make apple log in and sign up buttons consistent with others. 2020-06-18 13:06:10 -07:00
decorator.py decorator: Replace type: ignore with cast, avoid Any. 2020-06-30 18:58:23 -07:00
filters.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
forms.py emails: Add a custom header specifying the organization when possible. 2020-06-28 13:33:02 -07:00
logging_handlers.py logging_handlers: Fix type: ignore issues. 2020-06-30 18:58:23 -07:00
middleware.py refactor: Rename bugdown words to markdown in stats related functions. 2020-06-26 17:20:40 -07:00
models.py pointer: Remove pointer from UserProfile. 2020-07-03 13:08:40 +00:00
signals.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00