membphis commented on code in PR #11451:
URL: https://github.com/apache/apisix/pull/11451#discussion_r1899963373


##########
apisix/plugins/openid-connect.lua:
##########
@@ -471,7 +472,8 @@ local function required_scopes_present(required_scopes, 
http_scopes)
 end
 
 function _M.rewrite(plugin_conf, ctx)
-    local conf = core.table.clone(plugin_conf)
+    local conf_clone = core.table.clone(plugin_conf)

Review Comment:
   performance tips:
   
   we can use a lrucache, avoid repeated rendering of plugin_conf configuration



-- 
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]

Reply via email to