Skip to content

Commit

Permalink
fix: fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl committed Dec 21, 2023
1 parent d2dff02 commit 4be030c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resty/healthcheck.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1654,9 +1654,9 @@ function _M.new(opts)
for _, checker_obj in pairs(hcs) do

if (last_cleanup_check + CLEANUP_INTERVAL) < cur_time then
is_checked = true
-- clear targets marked for delayed removal
locking_target_list(checker_obj, function(target_list)
is_checked = true
local removed_targets = {}
local index = 1
while index <= #target_list do
Expand Down

0 comments on commit 4be030c

Please sign in to comment.