diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-04-22 17:16:14 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-04-22 17:16:14 (GMT) |
commit | 26308da1749b13910f7659a6056d2a04b0fb8077 (patch) | |
tree | 40650d2a030b7f92c214879c62bcef89f57a0588 | |
parent | 6240bd11ca9ced8b0bfda3ef020c3a9179789444 (diff) | |
download | cpython-26308da1749b13910f7659a6056d2a04b0fb8077.zip cpython-26308da1749b13910f7659a6056d2a04b0fb8077.tar.gz cpython-26308da1749b13910f7659a6056d2a04b0fb8077.tar.bz2 |
Issue #14622: Increased default timeout for SMTPHandler.
-rw-r--r-- | Lib/logging/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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. |