mirror of
https://github.com/lorsanstand/Aether.git
synced 2026-06-19 20:15:16 +03:00
11 lines
215 B
Python
11 lines
215 B
Python
from celery import Celery
|
|
|
|
from app.core.config import settings
|
|
|
|
celery_app = Celery(
|
|
"app.core.celery_app",
|
|
broker=settings.RABBITMQ_URL,
|
|
backend="rpc://"
|
|
)
|
|
|
|
celery_app.autodiscover_tasks(["app.tasks"]) |