Skip to content

Commit

Permalink
fix(sync) don't return value from timer callback
Browse files Browse the repository at this point in the history
  • Loading branch information
chobits committed Dec 3, 2024
1 parent 2df6a82 commit 78f7acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/clustering/services/sync/rpc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ sync_handler = function(premature, try_counter)
end

-- retry if the version is not updated
return ngx.timer.at(0, sync_handler, try_counter - 1)
ngx.timer.at(0, sync_handler, try_counter - 1)
end


Expand Down

0 comments on commit 78f7acb

Please sign in to comment.