Skip to content

Commit

Permalink
check conf.cluster_incremental_sync
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Nov 7, 2024
1 parent 36e3b5a commit 26f0109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/conf_loader/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ local function load(path, custom_conf, opts)
end
end

if not conf.cluster_rpc then
if conf.cluster_incremental_sync and not conf.cluster_rpc then
log.warn("Cluster incremental sync has been forcibly disabled, " ..
"please enable cluster RPC.")
conf.cluster_incremental_sync = false
Expand Down

0 comments on commit 26f0109

Please sign in to comment.