You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CPendingDeprecationWarning: The broker_connection_retry configuration setting will no longer determine whether broker connection retries are made during startup in Celery 6.0 and above
#5085
Open
agusmakmun opened this issue
May 22, 2024
· 0 comments
CPendingDeprecationWarning: The broker_connection_retry configuration setting will no longer
determine whether broker connection retries are made during startup in Celery 6.0 and above.
If you wish to retain the existing behavior for retrying connections on startup,
you should set broker_connection_retry_on_startup to True.
Description
I found this deprecation warning for the celery;
https://docs.celeryq.dev/en/stable/userguide/configuration.html#broker-connection-retry
As the newest celery almost using that version;
cookiecutter-django/{{cookiecutter.project_slug}}/requirements/base.txt
Lines 18 to 20 in b8b470c
Solution
And found the solution at https://stackoverflow.com/a/78088996/6396981
Where we can utilize the following settings to silence the warning by putting the below code into
celery.py
.or
settings.py
;Just wondering to add this into cookie-cutter-django
The text was updated successfully, but these errors were encountered: