membphis commented on code in PR #12407: URL: https://github.com/apache/apisix/pull/12407#discussion_r2196310085
########## apisix/upstream.lua: ########## @@ -103,6 +103,11 @@ _M.get_healthchecker_name = get_healthchecker_name local function create_checker(upstream) + local local_conf = require("apisix.core.config_local").local_conf() Review Comment: performance: cache the `require("apisix.core.config_local")` at top level -- 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