On 9/16/21 8:43 PM, Mark Dale via Mailman-users wrote:
... and then at the beginning of many errors printed to screen I now have...
/opt/mailman/venv/lib/python3.9/site-packages/django_q/conf.py:139: 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.
The current version of mailman_web/settings/mailman.py has
Q_CLUSTER = {
'retry': 360,
'timeout': 300,
'save_limit': 100,
'orm': 'default',
}
Earlier versions omitted the 'retry': 360
which is the issue.
Completely not comprehending the above doc (and being absolutely clueless about django), I blindly added "retry: 30" ...
root@mx:~# nano -c /opt/mailman/venv/lib/python3.9/site-packages/django_q/tests/settings.py
# Django Q specific Q_CLUSTER = { "name": "django_q_test", "cpu_affinity": 1, "testing": True, "log_level": "DEBUG", "django_redis": "default", "retry": 30,
Make that "retry": 360,
}
... but no joy. Is it me or are there some pieces missing from the documentation?
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/
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan