We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d793d43 + f588537 commit 6b30522Copy full SHA for 6b30522
lib/resty/rediscluster.lua
@@ -72,7 +72,7 @@ local function health_check_timer(premature)
72
end
73
-- Update health status based on check
74
if ok then
75
- health_dict:set(key, 0, 0) -- Healthy: reset failures, no TTL
+ health_dict:delete(key)
76
ngx.log(ngx.WARN, "health check success for: ", ip, ":", port)
77
else
78
local failures = health_dict:get(key) or 0
0 commit comments