biakecw commented on code in PR #8219:
URL: https://github.com/apache/apisix/pull/8219#discussion_r1020061944
##########
apisix/cli/ngx_tpl.lua:
##########
@@ -447,6 +447,7 @@ http {
init_worker_by_lua_block {
apisix.http_init_worker()
+ apisix.stream_init_worker()
Review Comment:
I want to explain my code design :
This is using logic about stream_routes inside
admin_api(**/apisix/admin**). Get stream_routes from
apisix.stream.router.ip_port.routes() and apisix.stream.router.ip_port.routes()
depends on stream_init_worker(). So under the scope of admin_api , I have to
add stream_init_worker in advance。
--
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]