Changes between Version 2 and Version 3 of Ticket #34167


Ignore:
Timestamp:
Nov 21, 2022, 7:14:14 AM (2 years ago)
Author:
Federico Capoano
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34167 – Description

    v2 v3  
    1 For the record, I started a discussion here: https://groups.google.com/g/django-developers/c/XZbKeM8fVxU/m/jp0h8U4tBgAJ
     1Why there's no default for EMAIL_TIMEOUT?
     2
     3Applications built in Django can potentially stall indefinitely if email
     4sending starts to hang (eg: if the SMTP server is overloaded), when this
     5happens, since there's no timeout, there's also no error being logged, so
     6it's very hard and time consuming to debug.
     7
     8Wouldn't it be better to set a timeout? Some high value like 2 minutes
     9which wouldn't really make sense to wait any longer, so at least if and
     10when this happens, developers will find error traces in the logs and
     11quickly understand where the problem is coming from, instead of spending
     12hours to debug it like I did in the past week.
Back to Top