Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
chobits committed Dec 11, 2024
1 parent 6077dd2 commit 25fdbd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kong/clustering/control_plane.lua
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ function _M:handle_cp_websocket(cert)
-- only update rpc_capabilities if dp_id is connected
rpc_capabilities = rpc_peers and rpc_peers[dp_id] or {},
}, { ttl = purge_delay, no_broadcast_crud_event = true, })

ngx.log(ngx.INFO, "xxx kong.db.clustering_data_planes:upsert ", tostring(dp_id), " ttl:", tostring(purge_delay), " -> ", tostring(ok), " err:", tostring(err))

if not ok then
ngx_log(ngx_ERR, _log_prefix, "unable to update clustering data plane status: ", err, log_suffix)
end
Expand Down

0 comments on commit 25fdbd7

Please sign in to comment.