Baoyuantop commented on issue #12846: URL: https://github.com/apache/apisix/issues/12846#issuecomment-3707572549
1. The lua-resty-events library has a default max_payload_len limit: according to the lua-resty-events [source code](https://github.com/Kong/lua-resty-events/blob/main/lualib/resty/events/init.lua#L30), the default value is DEFAULT_MAX_PAYLOAD_LEN = 1024 * 64 (i.e., 65536 bytes = 64KB). The APISIX events module does not have max_payload_len configured during initialization. 2. To temporarily avoid this problem, you can switch to lua-resty-worker-events in the configuration. 3. The changes described in https://github.com/apache/apisix/pull/12773 can also alleviate this problem. After the changes, the size of the shared dict can be adjusted via configuration file. -- 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]
