Hi.
I just received the same error this evening when rebuilding Mailman3 on a new Debian 11 instal. There is a later version of Django on the new install.
I got the original settings from the Mailman-Suite Gitlab project. I have made the modification but does this need to be made in that Gitlab project as well as that is where a lot of folks are getting their base Settings.py from?
Thanks. Andrew.
-----Original Message----- From: Robert Moody <robert@kneedrag.org> Sent: 18 July 2021 22:35 To: mailman-users@mailman3.org Subject: [MM3-users] Re: Error on timeout vs retry values
Thank you, that's fixed it.
On 19/07/21 7:28 am, Abhilash Raj wrote:
On Sat, Jul 17, 2021, at 11:23 PM, Robert Moody wrote:
Hi everyone,
I have recently setup a new mailman3 service using the venv method. Everything is functionally working however I keep getting an error sent to the mailman email every min which I can not seem to figure out why.
/opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py:142: 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. See https://django-q.readthedocs.io/en/latest/configure.html#retry for details."""
I have edited the timeout and retry values in the /opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py file and restarted both mailman and mailman-web however this still keeps repeating. You shouldn't edit files in
site-packages
directory as they are part of the package itself and could cause issues.What you want to do is override it in your settings.py (or settings_local.py) file for Django. I am not sure which guide you followed to install Mailman, but it should be somewhere in /opt/mailman/ I suppose (not in venv/ for sure).
It should look something like this
https://mailman-web.readthedocs.io/en/latest/settings.html#mailman_web .settings.mailman.Q_CLUSTER
Just the value of retry should be just > than timeout as the error says, so not necessarily same values, but so far 300 and 360 has been working good for us and I haven't seen any report to increase them.
Any ideas?
Regards,
Robert
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/