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/