Files
edx-platform/openedx/core/djangoapps/heartbeat/defaults.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

18 lines
420 B
Python

"""
Configuration defaults for the heartbeat djangoapp
Configures what checks to run by default in normal and "extended"/heavy mode,
as well as providing settings for the default checks themselves
"""
HEARTBEAT_DEFAULT_CHECKS = [
'.default_checks.check_modulestore',
'.default_checks.check_database',
]
HEARTBEAT_EXTENDED_DEFAULT_CHECKS = (
'.default_checks.check_celery',
)
HEARTBEAT_CELERY_TIMEOUT = 5