mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Increase email send timeout to 25min. See #1620732 (Feature: Reconfigurable Email Timeout)
This commit is contained in:
parent
fab8eb07ab
commit
3c05bf2ec2
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user