fixed comments

This commit is contained in:
c-d-p
2025-04-26 12:43:19 +02:00
parent 10e5a3c489
commit 22a4fc50a5
49 changed files with 165 additions and 148 deletions

View File

@@ -1,7 +1,6 @@
# core/celery_app.py
from celery import Celery
from core.config import settings # Import your settings
from core.config import settings
celery_app = Celery(
"worker",
broker=settings.REDIS_URL,
@@ -9,9 +8,5 @@ celery_app = Celery(
include=[
"modules.auth.tasks",
"modules.admin.tasks",
], # Add paths to modules containing tasks
# Add other modules with tasks here, e.g., "modules.some_other_module.tasks"
)
# Optional: Update Celery configuration directly if needed
# celery_app.conf.update(task_track_started=True)
],
)