Fix warnings causing cronjob errors mails

This commit is contained in:
Julian Rother 2025-02-08 03:07:31 +01:00
parent b33fae4ccd
commit 484716c0e9
Signed by: julian
GPG key ID: C19B924C0CD13341

View file

@ -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'