Skip to content

Commit

Permalink
fix bugs in RPC handler
Browse files Browse the repository at this point in the history
  • Loading branch information
dndx authored and chronolaw committed Jul 4, 2024
1 parent 42caa0e commit 014610e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions kong/clustering/services/sync/rpc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ function _M:sync_once(delay)
return true
end
end

return true
end)
if not res and err ~= "timeout" then
ngx_log(ngx_ERR, "unable to create worker mutex and sync: ", err)
Expand Down
2 changes: 1 addition & 1 deletion kong/runloop/handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ return {
end
end

local _, err = kong.timer:named_every("rebuild",
local _, err = kong.timer:named_every("wasm-rebuild",
worker_state_update_frequency,
rebuild_wasm_filter_chains_timer)
if err then
Expand Down

0 comments on commit 014610e

Please sign in to comment.