sidekiq-batch icon indicating copy to clipboard operation
sidekiq-batch copied to clipboard

Negative pending on some batches

Open betelgeus13 opened this issue 9 months ago • 2 comments

We used this gem to handle batches.

For some batches the success callback does not run, I checked those batches and the pending is negative. Any idea why the pending is negative?

This is what we get from redis

{"description"=>"Description", "created_at"=>"1714276864.5737576", "pending"=>"-9913", "children"=>"0", "total"=>"9913"}

I checked the code and the success/complete callback runs when pending is 0.

betelgeus13 avatar Apr 28 '24 07:04 betelgeus13