Revolyssup commented on code in PR #12126:
URL: https://github.com/apache/apisix/pull/12126#discussion_r2036840332
##########
apisix/upstream.lua:
##########
@@ -327,6 +330,7 @@ function _M.set_by_route(route, api_ctx)
local nodes_count = up_conf.nodes and #up_conf.nodes or 0
if nodes_count == 0 then
+ release_checker(up_conf.parent)
Review Comment:
@nic-6443 Healthchecker is not created when node == 0. This is for when
previously there were non zero nodes and healthchecker was created. Later when
it goes to 0, the previous healthchecker is deleted. But healthchecker is not
created in case of no nodes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]