Class: Wurk::Batch::Empty
- Inherits:
-
Object
- Object
- Wurk::Batch::Empty
- Includes:
- Job
- Defined in:
- lib/wurk/batch/empty.rb
Overview
No-op marker job inserted into an empty ‘batch.jobs { }` block so `:complete` and `:success` callbacks still fire. Pro 7.1+ behaviour: without this marker, total=0 means no batch_push ever ran and the callback path can’t tell “empty batch” from “never flushed batch”.
Spec: docs/target/sidekiq-pro.md §2.3 / §12.
Instance Method Summary collapse
Methods included from Job
clear_all, drain_all, included, jobs
Instance Method Details
#perform ⇒ Object
18 |
# File 'lib/wurk/batch/empty.rb', line 18 def perform; end |