From 198a5908b261b1c16ed742acf64c384038a813b3 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Thu, 12 Oct 2023 22:24:18 +0200 Subject: [PATCH] mail: silence django warnings --- roles/mail/templates/mailman/mailman-web.py.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/mail/templates/mailman/mailman-web.py.j2 b/roles/mail/templates/mailman/mailman-web.py.j2 index 0f8071e..03c2886 100644 --- a/roles/mail/templates/mailman/mailman-web.py.j2 +++ b/roles/mail/templates/mailman/mailman-web.py.j2 @@ -202,3 +202,13 @@ POSTORIUS_TEMPLATE_BASE_URL = 'http://localhost/mailman3/' # This is a quick and dirty hack - maybe there is a way to reliably retrieve the right ID? SITE_ID = 2 + + +Q_CLUSTER = { 'orm': 'default', + 'retry': 360, + 'save_limit': 100, + 'timeout': 300, + 'workers': 2 +} + +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'