From 26308da1749b13910f7659a6056d2a04b0fb8077 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Sun, 22 Apr 2012 18:16:14 +0100 Subject: [PATCH] Issue #14622: Increased default timeout for SMTPHandler. --- Lib/logging/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.40.0