10 lines
251 B
Python
10 lines
251 B
Python
from celery import Celery
|
|
|
|
from app.config import get_settings
|
|
|
|
|
|
settings = get_settings()
|
|
celery_app = Celery("xiaoxia-saas-api")
|
|
celery_app.conf.broker_url = settings.CELERY_BROKER_URL
|
|
celery_app.conf.result_backend = settings.CELERY_RESULT_BACKEND
|