Files
MAIA/backend/core/celery_app.py
2025-04-16 21:32:57 +02:00

11 lines
317 B
Python

# core/celery_app.py
from celery import Celery
from core.config import settings
celery = Celery(
"maia",
broker=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}/0",
backend=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}/1",
include=["modules.auth.tasks"], # List all task modules here
)