Merge branch 'fix/missing-celery-setting' into 'master'

fix missing setting in celery

See merge request allianceauth/allianceauth!1636
This commit is contained in:
Ariel Rin 2024-07-15 13:39:28 +00:00
commit 1fa77412c0

View File

@ -9,6 +9,10 @@ from django.conf import settings # noqa
app = Celery('myauth')
# Automatically try to establish the connection to the AMQP broker on
# Celery startup if it is unavailable.
app.conf.broker_connection_retry_on_startup = True
# Using a string here means the worker don't have to serialize
# the configuration object to child processes.
app.config_from_object('django.conf:settings')