membphis commented on code in PR #8113:
URL: https://github.com/apache/apisix/pull/8113#discussion_r999609961
##########
apisix/core/ai.lua:
##########
@@ -36,8 +55,8 @@ end
local function ai_match(ctx)
- -- TODO: we need to generate cache key dynamically
- local key = ctx.var.uri .. "-" .. ctx.var.method .. "-" .. ctx.var.host
+ local key = get_cache_key_func(ctx)
+ core.log.info("route cache key: ", core.log.delay_exec(encode_base64, key))
Review Comment:
@kingluo after my benchmark, we have to remove this line.
so we have to find a new way for testing.
--
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]