Skip to content

Commit

Permalink
debug etcd health check
Browse files Browse the repository at this point in the history
  • Loading branch information
kingluo committed Aug 13, 2023
1 parent 4c38226 commit 6a69f28
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions apisix/core/etcd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,13 @@ local function new()
end
end

if not health_check.conf then
health_check.init({
max_fails = 1,
retry = true,
})
end
health_check.disable()
--if not health_check.conf then
-- health_check.init({
-- max_fails = 1,
-- retry = true,
-- })
--end

return _new(etcd_conf)
end
Expand Down

0 comments on commit 6a69f28

Please sign in to comment.