mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 01:49:17 +02:00
Fixed celery worker defaulting to development settings instead of production
This commit is contained in:
parent
293e526f2f
commit
37ca06c370
2 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,7 @@ logger = logging.getLogger("celery")
|
|||
if not settings.configured:
|
||||
# set the default Django settings module for the 'celery' program.
|
||||
os.environ.setdefault(
|
||||
"DJANGO_SETTINGS_MODULE", "config.settings.local"
|
||||
"DJANGO_SETTINGS_MODULE", "config.settings.production"
|
||||
) # pragma: no cover
|
||||
|
||||
app = celery.Celery("funkwhale_api")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue