We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc4b9b5 commit 91969dbCopy full SHA for 91969db
lib/resty/rediscluster.lua
@@ -30,7 +30,7 @@ local DEFAULT_SEND_TIMEOUT = 1000
30
local DEFAULT_READ_TIMEOUT = 1000
31
local DEFAULT_HEALTH_DICT_NAME = "redis_cluster_health"
32
local err_unhealthy_master = "master node is unhealthy"
33
-local inspect = require "inspect"
+
34
local function generate_key(name, ip, port)
35
return name .. ":" .. ip .. ":" .. port
36
end
@@ -47,7 +47,6 @@ local function health_check_timer(premature)
47
48
49
local all_keys = health_dict:get_keys()
50
- ngx.log(ngx.WARN, "health check keys: ", inspect(all_keys))
51
for _, key in ipairs(all_keys) do
52
local ip, port = string.match(key, "^[^:]+:([^:]+):(%d+)$")
53
if not ip or not port then
0 commit comments