force email socket timeout to 10 seconds (#26351)
This commit is contained in:
parent
a7e6c1748a
commit
1340956832
|
@ -24,6 +24,12 @@ ADMINS = (
|
|||
|
||||
EMAIL_SUBJECT_PREFIX = '[%s] ' % PROJECT_NAME
|
||||
|
||||
# sockets default timeout can be set to a small value in another thread by kombu
|
||||
# https://github.com/celery/kombu/issues/838
|
||||
# This prevents sockets created in smtplib to rely on the default timeout
|
||||
# by setting their timeout value to 10 seconds.
|
||||
EMAIL_TIMEOUT = 10.0
|
||||
|
||||
# For high availability installations with multiple instances of Publik
|
||||
# components, one should disable cron jobs execution on secondary servers;
|
||||
# set the following variable True disables all tenant_commands launched with
|
||||
|
|
Loading…
Reference in New Issue