mirror of
https://github.com/QingdaoU/Spirit.git
synced 2024-12-28 15:32:12 +00:00
email timeout setting (#184)
* add email timeout to prod settings * 20 secs
This commit is contained in:
parent
ad6494dff3
commit
4b53631490
@ -27,6 +27,9 @@ ALLOWED_HOSTS = ['.example.com', ]
|
||||
DEFAULT_FROM_EMAIL = 'webmaster@localhost' # Django default
|
||||
SERVER_EMAIL = DEFAULT_FROM_EMAIL # For error notifications
|
||||
|
||||
# Email sending timeout
|
||||
EMAIL_TIMEOUT = 20 # Default is None (infinite)
|
||||
|
||||
# Extend the Spirit installed apps
|
||||
# Check out the .base.py file for more examples
|
||||
INSTALLED_APPS.extend([
|
||||
|
Loading…
Reference in New Issue
Block a user