-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Negative pending on some batches #90
Comments
After some debugging found the reason for negative pending. If a job is scheduled inside the batch. job, it will trigger a So you have
process_successful_job will be called after FirstJob and after SecondJob, while only the FirstJob is added to pending. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
I checked the code and the success/complete callback runs when pending is 0.
The text was updated successfully, but these errors were encountered: