On Thu, Nov 22, 2018, at 2:14 AM, Stefan Tatschner wrote:
On Sun, 2018-11-18 at 14:38 -0800, Mark Sapiro wrote:
No. This is not normal. This is apparently coming from Django qcluster. At least it is qcluster that uses the django_q_ormq table, but these repeated queries are not normal, at least I don't see them in the sites I administer.
These calls are normal, since qcluster polls the database at a high rate:
https://django-q.readthedocs.io/en/latest/configure.html#poll
Fortunately this setting can be reduced, but yeah, polling happens though.
So, if you are using Django's ORM to keep the task states in Django Q, this is bound to happen depending on how frequently do you run tasks. In Hyperkitty, we have some minutely tasks, which means the polling is going to be high.
You can however, configure Django Q to store the tasks outside of database in a better high-speed in-memory database like Redis for example1 for queuing the tasks. Other options like MongoDB, Amazon SQS is also available.
Stefan
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)