Files
edx-platform/openedx/core/djangoapps/heartbeat/tasks.py
Joel Barciauskas 7895875559 Refactor the heartbeat djangoapp to be a bit more extensible
We may want to add additional heartbeat checks, particularly depending
on the context (e.g. different environments). This is meant to be a
start at enabling a more plug-in style heartbeat check that provides
more detailed diagnostics if desired.
2017-06-27 11:45:37 -04:00

10 lines
115 B
Python

"""
A trivial task for health checks
"""
from celery.task import task
@task()
def sample_task():
return True