ranxuxin001 commented on code in PR #9334:
URL: https://github.com/apache/apisix/pull/9334#discussion_r1205052561


##########
apisix/http/router/radixtree_uri.lua:
##########
@@ -17,33 +17,15 @@
 local require = require
 local core = require("apisix.core")
 local base_router = require("apisix.http.route")
-local get_services = require("apisix.http.service").services
-local cached_router_version
-local cached_service_version
+local router = require("apisix.router")
 
 
 local _M = {version = 0.2}
 
 
-    local uri_routes = {}
-    local uri_router
     local match_opts = {}
 function _M.match(api_ctx)
     local user_routes = _M.user_routes
-    local _, service_version = get_services()
-    if not cached_router_version or cached_router_version ~= 
user_routes.conf_version
-        or not cached_service_version or cached_service_version ~= 
service_version
-    then
-        uri_router = 
base_router.create_radixtree_uri_router(user_routes.values,

Review Comment:
   apisix/http/router/radixtree_host_uri.lua  is done.



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