21π
It is what it says it is β a warning that settings.DEBUG
should not be set for production deployments. If youβre just using it for development, then it is not something to be concerned about. In general, this ought to apply whether you use django-celery or not.
I have not looked up the details, but as mentioned in this answer:
When
DEBUG
is enabled Django appends every executed SQL statement todjango.db.connection.queries
, this will grow unbounded in a long running process environment.
1π
The officially recommended way to start celeryd for django-celery is:
python manage.py celeryd --setting=settings
Today, I forgot this and directly start celeryd by
python -m celery.bin.celeryd --config=settings
and viola, no warnings! And it works just fine! The Celery group really need to work on their docs. Although it seems comprehensive, some key pieces are missing to cover all the grounds imho.
- If I send a python 'Signal' object from a function, what should the "sender" argument be?
- Where are the files downloaded using pip stored in virtualenv?
- Error Using CheckConstraint in Model.Meta along with Django GenericForeignKey β Joined field references are not permitted in this query
0π
Actually⦠Django stopped leaking memory in Django 1.8 https://github.com/django/django/commit/cfcca7ccce3dc527d16757ff6dc978e50c4a2e61
A fix for celery such that it wonβt complain anymore is underway.
- How do I use perform_create to set a field automatically in Django Rest Framework?
- Docker crontab: not found
- Django, Postgres β column cannot be cast automatically to type integer
- How to restrict Django Rest Framework browsable API interface to admin users
0π
As of Django 1.8, Django no longer leaks memory when DEBUG=True
.
See https://github.com/celery/celery/pull/7626. This pull request removed the out dated warning and will be included in the Celery 5.3 release.
- Background processing in Django without Celery
- Group models in django admin
- Getting scrapy project settings when script is outside of root directory
- Django admin β select reverse foreign key relationships (not create, I want to add available)