Changes between Initial Version and Version 2 of Ticket #34167


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

For the record, I started a discussion in the Django Developers Mailing List: https://groups.google.com/g/django-developers/c/XZbKeM8fVxU/m/jp0h8U4tBgAJ .

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34167

    • Property Resolutionwontfix
    • Property Status newclosed
  • Ticket #34167 – Description

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