Switches task serialization over to pickle format

This commit is contained in:
Trenton H
2022-11-22 09:59:59 -08:00
parent 478b85dd1b
commit 5030a5212e
6 changed files with 109 additions and 69 deletions

View File

@@ -526,6 +526,10 @@ CELERY_RESULT_EXTENDED = True
CELERY_RESULT_BACKEND = "django-db"
CELERY_CACHE_BACKEND = "default"
# This allows types to stay types through a .delay
CELERY_TASK_SERIALIZER = "pickle"
CELERY_ACCEPT_CONTENT = ["application/x-python-serialize"]
CELERY_BEAT_SCHEDULE = {
# Every ten minutes
"Check all e-mail accounts": {