Is a queued Sidekiq::Batch::Empty a sign that we didn't use batches corectly? #6139
-
Is I'm seeing some of those jobs in our queue and wondering if that's a sign of a bug in our code to investigate. Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
mperham
Dec 19, 2023
Replies: 1 comment 2 replies
-
Yeah, it's a signal someone created a batch with no jobs in it. Technically not a great idea but the Empty job is there to ensure any callbacks are fired. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bmulholland
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, it's a signal someone created a batch with no jobs in it. Technically not a great idea but the Empty job is there to ensure any callbacks are fired.