Increase email send timeout to 25min. See #1620732 (Feature: Reconfigurable Email Timeout)

This commit is contained in:
Kovid Goyal 2016-09-06 22:54:13 +05:30
parent fab8eb07ab
commit 3c05bf2ec2

View File

@ -52,7 +52,7 @@ class Worker(Thread):
class Sendmail(object): class Sendmail(object):
MAX_RETRIES = 1 MAX_RETRIES = 1
TIMEOUT = 15 * 60 # seconds TIMEOUT = 25 * 60 # seconds
def __init__(self): def __init__(self):
self.calculate_rate_limit() self.calculate_rate_limit()