Files
xiaoxia-saas/apps/worker/worker_app/tasks/health.py
T
Xiaoxia AI 7f416700de
Tests / test (push) Failing after 1m34s
Tests / lint (push) Failing after 31s
fix: register worker tasks explicitly
2026-06-15 19:14:54 +08:00

7 lines
163 B
Python

from worker_app.celery_app import celery_app
@celery_app.task(name="worker.healthcheck")
def healthcheck() -> dict:
return {"ok": True, "service": "worker"}