forked from 0x2620/pandora
Celery broker_connection_retry_on_startup=True
This commit is contained in:
parent
4fb8879ba0
commit
27e5449e59
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue