Do not check redis during startupprobe

This commit is contained in:
Ildar Iskhakov 2023-11-27 21:43:26 +08:00
parent 2ddb47ea29
commit 2acd85a3e6

View file

@ -46,9 +46,6 @@ class StartupProbeView(View):
if cache.get(AlertChannelDefiningMixin.CACHE_KEY_DB_FALLBACK) is None:
AlertChannelDefiningMixin().update_alert_receive_channel_cache()
cache.set("healthcheck", "healthcheck", 30) # Checking cache connectivity
assert cache.get("healthcheck") == "healthcheck"
return HttpResponse("Ok")