diff --git a/.requirements b/.requirements index bdbf411854fa..d38f697623de 100644 --- a/.requirements +++ b/.requirements @@ -8,7 +8,7 @@ LIBEXPAT=2.5.0 LUA_KONG_NGINX_MODULE=4fbc3ddc7dcbc706ed286b95344f3cb6da17e637 # 0.8.0 LUA_RESTY_LMDB=19a6da0616db43baf8197dace59e64244430b3c4 # 1.4.1 -LUA_RESTY_EVENTS=8448a92cec36ac04ea522e78f6496ba03c9b1fd8 # 0.2.0 +LUA_RESTY_EVENTS=2dcd1d7a256c53103c0fdbe804f419174e0ea8ba # 0.3.0 LUA_RESTY_WEBSOCKET=60eafc3d7153bceb16e6327074e0afc3d94b1316 # 0.4.0 ATC_ROUTER=1abb9286947b70b4e302d8df953961c1280a0289 # 1.6.0 diff --git a/changelog/unreleased/kong/bump-lua-resty-events.yml b/changelog/unreleased/kong/bump-lua-resty-events.yml new file mode 100644 index 000000000000..8481612691d5 --- /dev/null +++ b/changelog/unreleased/kong/bump-lua-resty-events.yml @@ -0,0 +1,3 @@ +message: "Bumped lua-resty-events to 0.3.0" +type: dependency +scope: Core diff --git a/kong/global.lua b/kong/global.lua index ace19ae87fbe..fc36ff63828e 100644 --- a/kong/global.lua +++ b/kong/global.lua @@ -203,6 +203,9 @@ function _GLOBAL.init_worker_events() listening = listening, -- unix socket for broker listening max_queue_len = 1024 * 50, -- max queue len for events buffering max_payload_len = max_payload_len, -- max payload size in bytes + enable_privileged_agent = configuration and configuration.dedicated_config_processing + and configuration.role == "data_plane" + or false } worker_events = require "resty.events.compat"