tzssangglass commented on code in PR #8219:
URL: https://github.com/apache/apisix/pull/8219#discussion_r1025914834


##########
apisix/admin/init.lua:
##########
@@ -148,6 +149,9 @@ local function run()
             core.response.exit(400, {error_msg = "stream mode is disabled, " ..
                                "can not add stream routes"})
         end
+        core.config.init()
+        local router_stream = require("apisix.stream.router.ip_port")
+        router_stream.stream_init_worker(filter)

Review Comment:
   here: https://github.com/apache/apisix/pull/8219#discussion_r1024937749 
means move `router_stream.stream_init_worker(filter)` to `function 
_M.init_worker()`, not `local function run()`.



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