This commit is contained in:
behruz-dev
2025-09-04 17:50:07 +05:00
parent ed5e71db25
commit a56a62acfa
9 changed files with 74 additions and 5 deletions

8
config/conf/celery.py Normal file
View File

@@ -0,0 +1,8 @@
from django.conf import settings
CELERY_BROKER_URL = 'redis://redis:6379'
CELERY_RESULT_BACKEND = "redis://redis:6379"
CELERY_ACCEPT_CONTENT = ['json']
CELERY_TASK_SERIALIZER = 'json'
CELERY_TIMEZONE = settings.TIME_ZONE
CELERY_ENABLED = True