[Python-checkins] cpython: Issue #14622: Increased default timeout for SMTPHandler.
vinay.sajip
python-checkins at python.org
Sun Apr 22 19:16:21 CEST 2012
http://hg.python.org/cpython/rev/fe66fb61f199
changeset: 76474:fe66fb61f199
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Sun Apr 22 18:16:14 2012 +0100
summary:
Issue #14622: Increased default timeout for SMTPHandler.
files:
Lib/logging/handlers.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py
--- a/Lib/logging/handlers.py
+++ b/Lib/logging/handlers.py
@@ -872,7 +872,7 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list