Skip to content

Commit

Permalink
fix(clustering): restore immediate ping behavior on config update
Browse files Browse the repository at this point in the history
This branch of logic was mistakenly removed in
0f95ffc / #12282.
  • Loading branch information
flrgh committed Jan 17, 2024
1 parent 0f95ffc commit 92dce1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kong/clustering/data_plane.lua
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,10 @@ function _M:communicate(premature)
local err_t
ok, err, err_t = config_helper.update(self.declarative_config, msg)

if not ok then
if ok then
ping_immediately = true

else
if self.error_reporting then
config_err_t = err_t
end
Expand Down

0 comments on commit 92dce1e

Please sign in to comment.