working auth + users systems
This commit is contained in:
10
backend/core/celery_app.py
Normal file
10
backend/core/celery_app.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# core/celery_app.py
|
||||
from celery import Celery
|
||||
from core.config import settings
|
||||
|
||||
celery = Celery(
|
||||
"maia",
|
||||
broker=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}/0",
|
||||
backend=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}/1",
|
||||
include=["modules.auth.tasks"], # List all task modules here
|
||||
)
|
||||
Reference in New Issue
Block a user