Skip to content

Commit

Permalink
Update kong/global.lua
Browse files Browse the repository at this point in the history
Co-authored-by: Chrono <chrono_cpp@me.com>
  • Loading branch information
liverpool8056 and chronolaw committed May 23, 2023
1 parent 4b84678 commit eb7fa18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/global.lua
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function _GLOBAL.init_worker_events()
-- we overwrite `post` method to truncate the payload and send it again
-- when we get error message: "payload too big"
local native_post = worker_events.post
worker_events.post = function (source, event, data, unique)
worker_events.post = function(source, event, data, unique)
local ok, err = native_post(source, event, data, unique)
-- exceeds the upper limit for the size of the payload
if err == PAYLOAD_TOO_BIG_ERR then
Expand Down

0 comments on commit eb7fa18

Please sign in to comment.