first commit

This commit is contained in:
Sergey Antropoff
2026-04-30 08:59:31 +03:00
commit 1d2301fb09
95 changed files with 19362 additions and 0 deletions

19
app/celery_app.py Normal file
View File

@@ -0,0 +1,19 @@
from celery import Celery
from app.core.config import get_settings
settings = get_settings()
celery = Celery(
"roleforge",
broker=settings.celery_broker_url,
backend=settings.celery_result_backend,
)
celery.conf.update(
task_track_started=True,
task_serializer="json",
result_serializer="json",
accept_content=["json"],
timezone="UTC",
)