From 7bb53809ad185793cd15d5fc1b6f8e47624ccdef Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Mon, 23 Mar 2026 16:48:10 -0400 Subject: [PATCH] [settings] Use json serializer for celery --- vrobbler/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vrobbler/settings.py b/vrobbler/settings.py index c951f01..a1445ac 100644 --- a/vrobbler/settings.py +++ b/vrobbler/settings.py @@ -105,6 +105,8 @@ CELERY_BROKER_URL = REDIS_URL if REDIS_URL else "memory://localhost/" CELERY_RESULT_BACKEND = "django-db" CELERY_TIMEZONE = os.getenv("VROBBLER_TIME_ZONE", "America/New_York") CELERY_TASK_TRACK_STARTED = True +CELERY_TASK_SERIALIZER = "json" +CELERY_ACCEPT_CONTENT = ["json"] CELERY_BEAT_SCHEDULE = { "build-yesterdays-charts": {