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.
10 lines
115 B
Python
10 lines
115 B
Python
"""
|
|
A trivial task for health checks
|
|
"""
|
|
from celery.task import task
|
|
|
|
|
|
@task()
|
|
def sample_task():
|
|
return True
|