Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions queue/abstract/driver/fifottl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ local function fifottl_fiber_iteration(self, processed)
if estimated > 0 or processed > 1000 then
-- free refcounter
estimated = estimated > 0 and estimated or 0
processed = 0
self.cond:wait(estimated)
end

Expand Down
1 change: 1 addition & 0 deletions queue/abstract/driver/utubettl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ local function utubettl_fiber_iteration(self, processed)
-- free refcounter
estimated = processed > 1000 and 0 or estimated
estimated = estimated > 0 and estimated or 0
processed = 0
self.cond:wait(estimated)
end

Expand Down