Skip to content

Commit

Permalink
no handshake
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Nov 18, 2024
1 parent f99fb26 commit b56439b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions kong/clustering/rpc/manager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ end

-- CP => DP
function _M:_register_meta_call()
self.callbacks:register(RPC_MATA_V1 .. ".handshake", function(node_id, info)
self.callbacks:register(RPC_MATA_V1, function(node_id, info)
local capabilities_list = info.capabilities

self.client_capabilities[node_id] = {
Expand All @@ -164,9 +164,7 @@ end


-- DP => CP
function _M:_meta_call(node_id, s, meta)
local method = meta .. ".handshake"

function _M:_meta_call(node_id, s, method)
local info = {
capabilities = self.callbacks:get_capabilities_list(),
-- conf and others
Expand Down

0 comments on commit b56439b

Please sign in to comment.