[V1.0] Working application, added notifications.

Ready to upload to store.
This commit is contained in:
c-d-p
2025-04-27 00:39:52 +02:00
parent 04d9136b96
commit 62d6b8bdfd
86 changed files with 2250 additions and 240 deletions

View File

@@ -1,6 +1,7 @@
# core/celery_app.py
from celery import Celery
from core.config import settings
celery_app = Celery(
"worker",
broker=settings.REDIS_URL,
@@ -8,5 +9,15 @@ celery_app = Celery(
include=[
"modules.auth.tasks",
"modules.admin.tasks",
"modules.calendar.tasks", # Add calendar tasks
],
)
)
# Optional: Configure Celery Beat if you need periodic tasks later
# celery_app.conf.beat_schedule = {
# 'check-something-every-5-minutes': {
# 'task': 'your_app.tasks.check_something',
# 'schedule': timedelta(minutes=5),
# },
# }
celery_app.conf.timezone = "UTC" # Recommended to use UTC