lib/rocket_job/plugins/job/state_machine.rb in rocketjob-3.3.1 vs lib/rocket_job/plugins/job/state_machine.rb in rocketjob-3.3.2

- old
+ new

@@ -75,12 +75,12 @@ transitions from: :failed, to: :aborted transitions from: :paused, to: :aborted end event :requeue do - transitions from: :running, to: :queued, - if: -> server_name { worker_on_server?(server_name) }, - after: :rocket_job_clear_started_at + transitions from: :running, to: :queued, + if: -> server_name { worker_on_server?(server_name) }, + after: :rocket_job_clear_started_at end end # @formatter:on # By default all jobs are not pausable / resumable