9268 commented on code in PR #12867:
URL: https://github.com/apache/apisix/pull/12867#discussion_r2730408891


##########
apisix/discovery/nacos/init.lua:
##########
@@ -32,13 +32,19 @@ local string_sub         = string.sub
 local str_byte           = string.byte
 local str_find           = core.string.find
 local log                = core.log
+local process            = require("ngx.process")
 
 local default_weight
 local nacos_dict = ngx.shared.nacos --key: namespace_id.group_name.service_name
 if not nacos_dict then
     error("lua_shared_dict \"nacos\" not configured")
 end
 
+local nodes_lrucache = core.lrucache.new({
+    ttl = 300,  -- 5分钟TTL

Review Comment:
   It's fixed now



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