Revolyssup commented on code in PR #12426:
URL: https://github.com/apache/apisix/pull/12426#discussion_r2224667663


##########
apisix/balancer.lua:
##########
@@ -75,7 +75,8 @@ local function fetch_health_nodes(upstream, checker)
     local port = upstream.checks and upstream.checks.active and 
upstream.checks.active.port
     local up_nodes = core.table.new(0, #nodes)
     for _, node in ipairs(nodes) do
-        local ok, err = checker:get_target_status(node.host, port or 
node.port, host)
+        local ok, err = healthcheck_manager.fetch_node_status(checker,

Review Comment:
   do you mean using the lrucache with `checker` as key? 



-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to