lib/rocket_job/batch/state_machine.rb in rocketjob-5.0.0.beta3 vs lib/rocket_job/batch/state_machine.rb in rocketjob-5.0.0.beta4

- old
+ new

@@ -55,10 +55,10 @@ # - Whilst Queued (before processing). # - During processing. # # I.e. Not during before_batch and after_batch. def pausable? - queued? || paused? || running? && (sub_state == :processing) + queued? || paused? || (running? && (sub_state == :processing)) end private # Is this job still being processed