commit | 26308da1749b13910f7659a6056d2a04b0fb8077 | [log] [tgz] |
---|---|---|
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Sun Apr 22 18:16:14 2012 +0100 |
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Sun Apr 22 18:16:14 2012 +0100 |
tree | 40650d2a030b7f92c214879c62bcef89f57a0588 | |
parent | 6240bd11ca9ced8b0bfda3ef020c3a9179789444 [diff] [blame] |
Issue #14622: Increased default timeout for SMTPHandler.
diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py index d0e1425..9c63797 100644 --- 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.