We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66fd2d0 commit 9f9810aCopy full SHA for 9f9810a
health_check/cache/backends.py
@@ -1,10 +1,9 @@
1
-from django.core.cache import CacheKeyWarning, caches
2
from django.conf import settings
+from django.core.cache import CacheKeyWarning, caches
3
4
from health_check.backends import BaseHealthCheckBackend
5
from health_check.exceptions import ServiceReturnedUnexpectedResult, ServiceUnavailable
6
7
-
8
try:
9
# Exceptions thrown by Redis do not subclass builtin exceptions like ConnectionError.
10
# Additionally, not only connection errors (ConnectionError -> RedisError) can be raised,
0 commit comments