Fix warnings causing cronjob errors mails
This commit is contained in:
parent
b33fae4ccd
commit
484716c0e9
1 changed files with 18 additions and 0 deletions
|
|
@ -250,3 +250,21 @@ SESSION_EXPIRE_SECONDS = {{ mailman.web.session_timeout }}
|
||||||
HYPERKITTY_ENABLE_GRAVATAR = False
|
HYPERKITTY_ENABLE_GRAVATAR = False
|
||||||
HYPERKITTY_ALLOW_WEB_POSTING = False
|
HYPERKITTY_ALLOW_WEB_POSTING = False
|
||||||
|
|
||||||
|
# Fix warning:
|
||||||
|
#
|
||||||
|
# UserWarning: Retry and timeout are misconfigured. Set retry larger than timeout,
|
||||||
|
# failure to do so will cause the tasks to be retriggered before completion.
|
||||||
|
# See https://django-q.readthedocs.io/en/latest/configure.html#retry for details.
|
||||||
|
|
||||||
|
Q_CLUSTER = {
|
||||||
|
'retry': 360,
|
||||||
|
'timeout': 300,
|
||||||
|
'save_limit': 100,
|
||||||
|
'orm': 'default',
|
||||||
|
}
|
||||||
|
|
||||||
|
# Fix warning:
|
||||||
|
#
|
||||||
|
# Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
|
||||||
|
|
||||||
|
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue