Skip to content

Commit

Permalink
Fix celery deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
np5 committed Jan 20, 2025
1 parent dba3d21 commit fbb89f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/server/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'server.settings')
app = Celery('zentral')
app.conf.broker_connection_retry_on_startup = True
app.conf.result_extended = True
app.config_from_object('django.conf:settings', namespace='CELERY')
app.autodiscover_tasks()
Expand Down

0 comments on commit fbb89f2

Please sign in to comment.