18 lines
314 B
Python
18 lines
314 B
Python
#!/usr/bin/env python3
|
|
|
|
from redis_client import redis_client
|
|
|
|
"""
|
|
Healthchek functions
|
|
"""
|
|
|
|
__author__ = "@tormakris"
|
|
__copyright__ = "Copyright 2021, KMLabz Team"
|
|
__module_name__ = "healthchecks"
|
|
__version__text__ = "1"
|
|
|
|
|
|
def redis_available():
|
|
redisstatus = redis_client.info()
|
|
return True, redisstatus
|