mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
celery load
This commit is contained in:
7
application/celeryconfig.py
Normal file
7
application/celeryconfig.py
Normal 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']
|
||||
Reference in New Issue
Block a user