Skip to content

Commit 91e79f8

Browse files
committed
mail timeout
1 parent 4351d26 commit 91e79f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

say/tasks/send_email.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ def get_subject_from_html(html):
2121
retry_backoff=True,
2222
retry_backoff_max=600,
2323
retry_kwargs={'max_retries': 80},
24+
soft_time_limit=60
2425
)
2526
def send_email(subject, to, html, cc=[], bcc=[]):
2627
if isinstance(to, str):

0 commit comments

Comments
 (0)