From: Vinay Sajip Date: Sun, 22 Apr 2012 17:16:14 +0000 (+0100) Subject: Issue #14622: Increased default timeout for SMTPHandler. X-Git-Tag: v3.3.0a3~113^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26308da1749b13910f7659a6056d2a04b0fb8077;p=python Issue #14622: Increased default timeout for SMTPHandler. --- diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py index d0e14251e6..9c63797431 100644 --- a/Lib/logging/handlers.py +++ b/Lib/logging/handlers.py @@ -872,7 +872,7 @@ class SMTPHandler(logging.Handler): A handler class which sends an SMTP email for each logging event. """ def __init__(self, mailhost, fromaddr, toaddrs, subject, - credentials=None, secure=None, timeout=1.0): + credentials=None, secure=None, timeout=5.0): """ Initialize the handler.