Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
StarlightIbuki committed Nov 11, 2024
1 parent 4c92d83 commit 21ae763
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions kong/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -890,17 +890,13 @@ function Kong.init_worker()
if using_dedicated and process.type() == "privileged agent" then
-- full sync dp agent
kong.clustering:init_worker()
return

elseif not using_dedicated then
-- full sync dp
kong.clustering:init_worker()
end
end

-- DP full sync agent skips the rest of the init_worker
if is_dp_full_sync_agent then
return
end
end

kong.vault.init_worker()
Expand Down

0 comments on commit 21ae763

Please sign in to comment.