Files
edx-platform/openedx/core/djangoapps/heartbeat/tasks.py
Muhammad Soban Javed c1fe3c3a93 Revert ""Update routing config" (#25536)" (#25549)
This reverts commit 39a22734c1.
2020-11-09 23:43:47 +05:00

13 lines
199 B
Python

"""
A trivial task for health checks
"""
from celery.task import task
from django.conf import settings
@task(routing_key=settings.HEARTBEAT_CELERY_ROUTING_KEY)
def sample_task():
return True