Celery broker_connection_retry_on_startup=True

This commit is contained in:
j 2023-07-27 23:50:01 +02:00
parent 4fb8879ba0
commit 27e5449e59

View file

@ -8,6 +8,6 @@ os.chdir(root_dir)
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
app = Celery('pandora')
app = Celery('pandora', broker_connection_retry_on_startup=True)
app.config_from_object('django.conf:settings', namespace='CELERY')
app.autodiscover_tasks()