creaplus opened a new issue, #11049: URL: https://github.com/apache/apisix/issues/11049
### Description I encountered the following error when configuring the apisix production environment: 2024/03/08 18:40:39 [error] 14173#14173: *1337 [lua] init.lua:521: post_event failure with discovery_consul_update_all_services, update all services error: failed to publish event: payload exceeds the limitation (65536), context: ngx.timer After tracing the source code, I found that the default limit of lua-resty-events is 64K. I use consul as the service discovery. The all service list dump file is approximately 80K. /usr/local/apisix/apisix/events.lua local opts increase max_payload_len = 1024 * 1024 * 2 I want to know whether this modification has any impact on the stability of apisix service ### Environment - APISIX version (run `apisix version`): 3.8.0 - Operating system (run `uname -a`):Linux apisix-01 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx version: openresty/1.21.4.2 - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):3.5.0 -- 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]
