13 lines
229 B
Python
13 lines
229 B
Python
from celery import Celery
|
|
|
|
from app.config import get_settings
|
|
|
|
settings = get_settings()
|
|
|
|
celery_app = Celery(
|
|
"radio_api",
|
|
broker=settings.redis_url,
|
|
backend=settings.redis_url,
|
|
include=["app.workers.tasks"],
|
|
)
|