tzssangglass opened a new issue, #8231: URL: https://github.com/apache/apisix/issues/8231
### Current Behavior 1. https://github.com/apache/apisix/blob/f1200764c34b7545b1c3723c390f11f41d8c7d75/apisix/plugins/ai.lua#L174-L175 `filter_fun` should be `filter_func` If `filter_func` is enabled on the route and other conditions are met for the ai plugin to be enabled, the route matches are cached instead of `filter_func`. 2. https://github.com/apache/apisix/blob/f1200764c34b7545b1c3723c390f11f41d8c7d75/apisix/plugins/ai.lua#L215-L216 `keepalive` should be `keepalive_pool` This will cause the `keepalive_pool` configured in upstream to not take effect, using the default `keepalive_pool` configuration. ### Expected Behavior null ### Error Logs null ### Steps to Reproduce null ### Environment - APISIX version (run `apisix version`): master - Operating system (run `uname -a`): - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): - APISIX Dashboard version, if relevant: - Plugin runner version, for issues related to plugin runners: - LuaRocks version, for installation issues (run `luarocks --version`): -- 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]
