Added check redis connection (GONRG-7597)
Description:
In case of loss of connection between the service and Redis, the processing of requests to the service is delayed, and an error of the type "Command timed out after 30 SECONDS" is received. Added Redis connection health checks. Issue osdu/platform/system/lib/core/os-core-common#72
How to test:
- Choose a service with core common lib.
- Сheck service viability.
- Turn off the Redis.
- Get the result of a request to the service without errors.
- Check logs with the message "Redis connection is closed.".
Changes include:
-
Bugfix (a non-breaking change that solves an issue).
Changes in:
-
GCP -
Azure -
AWS -
IBM
Edited by Yurii Ruban [EPAM / GCP]