DocsGPT/application/celeryconfig.py

7 lines
184 B
Python
Raw Normal View History

2023-04-06 11:16:30 +00:00
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']