Skip to content

Commit

Permalink
fix(core): yield before updating globals.CURRENT_TRANSACTION_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshuebner committed Nov 6, 2023
1 parent 00a9f9b commit 073fcff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kong/runloop/handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,9 @@ return {
end

if rebuild_transaction_id then
-- Yield to process any pending invalidations
utils.yield()

log(NOTICE, "configuration processing completed for transaction ID " .. rebuild_transaction_id)
global.CURRENT_TRANSACTION_ID = rebuild_transaction_id
end
Expand Down

1 comment on commit 073fcff

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:073fcff2237ee52a8b8bdaa400e128fbaeae9122
Artifacts available https://github.com/Kong/kong/actions/runs/6768269616

Please sign in to comment.