Skip to content

Commit

Permalink
fix loop
Browse files Browse the repository at this point in the history
  • Loading branch information
yuz10 authored Nov 7, 2024
1 parent efad02d commit 2f7f323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resty/rocketmq/consumer/rebalancer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function _M:start()
local self = self
local loop
loop = function()
if self.exit then
if not self.consumer.running then
return
end
doRebalance(self)
Expand Down

0 comments on commit 2f7f323

Please sign in to comment.