coderound / backend /src /workers /celery_app.py
ketannnn's picture
feat: add pipeline page, session delete with Qdrant cleanup, explain worker, and final frontend polish
a0f1a88
raw
history blame
530 Bytes
import os
from celery import Celery
from ..config import get_settings
settings = get_settings()
celery_app = Celery(
"talentpulse",
broker=settings.redis_url,
backend=settings.redis_url,
include=["src.workers.ingest", "src.workers.explain"],
)
celery_app.conf.update(
task_serializer="json",
accept_content=["json"],
result_serializer="json",
timezone="UTC",
enable_utc=True,
task_track_started=True,
result_expires=3600,
worker_prefetch_multiplier=1,
task_acks_late=True,
)