Thanks I will give that a go a bit later today and see what happens.
Get BlueMail for Android
On 19 Jul 2021, 07:34, at 07:34, Abhilash Raj <maxking@asynchronous.in> 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
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
On Sat, Jul 17, 2021, at 11:23 PM, Robert Moody wrote: than 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.setti...
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/
-- thanks, Abhilash Raj (maxking)
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/