Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release/3.4.x] fix(core): Add a new parameter worker_event_max_payload to kong.conf #11256

Merged
merged 1 commit into from
Jul 21, 2023

Commits on Jul 21, 2023

  1. fix(core): Add a new parameter worker_event_max_payload to kong.conf (

    #11214)
    
    * With a hard-coded payload size, for some use cases like uploading a big
    OpenAPI spec in DevPortal or updating a big config entry for plugins,
    they can not work as expected. With the new parameter, the user can
    decide the payload size to meet their needs.
    
    In this PR, a new parameter, `worker_events_max_payload` is added, which
    allows to specify the payload size the `worker_events` lib can accept.
    The default size is 64k, and the max allowed to set is 16M Bytes.
    
    The corresponding PR for `worker_events` lib is [#37](Kong/lua-resty-events#37)
    
    FTI-4963
    
    * add changelog entry
    
    * Update kong.conf.default
    
    Co-authored-by: Datong Sun <datong.sun@konghq.com>
    
    * add test case and bump lua-resty-events
    
    * correct the default value, and add an entry for bumping the version of lua-resty-events
    
    * 1. append PR number to the changelog entry of lua-resty-events
    2. correct the spec test
    3. style
    
    * Update CHANGELOG.md
    
    ---------
    
    Co-authored-by: Datong Sun <datong.sun@konghq.com>
    Co-authored-by: Chrono <chrono_cpp@me.com>
    (cherry picked from commit ff59edb)
    liverpool8056 authored and github-actions[bot] committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    595bd92 View commit details
    Browse the repository at this point in the history