SurfSense/surfsense_backend/celery_worker.py
DESKTOP-RTLN3BA\$punk c80bbfa867 feat: added celery and removed background_tasks for MQ's
- removed pre commit hooks
- updated docker setup
- updated github docker actions
- updated docs
2025-10-20 00:30:00 -07:00

13 lines
289 B
Python

"""Celery worker startup script."""
import os
import sys
# Add the app directory to the Python path
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "app"))
from app.celery_app import celery_app
if __name__ == "__main__":
# Start the Celery worker
celery_app.start()