celery load

This commit is contained in:
Alex
2023-04-06 12:16:30 +01:00
parent b9efb98280
commit 9395d2c091
2 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
import os
broker_url = os.getenv("CELERY_BROKER_URL")
result_backend = os.getenv("CELERY_RESULT_BACKEND")
task_serializer = 'json'
result_serializer = 'json'
accept_content = ['json']