sidekiq-batch
sidekiq-batch copied to clipboard
Negative pending on some batches
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.