lib/rocket_job/plugins/restart.rb in rocketjob-2.0.0 vs lib/rocket_job/plugins/restart.rb in rocketjob-2.1.1

- old
+ new

@@ -16,10 +16,10 @@ # - The job has expired. module Restart extend ActiveSupport::Concern # Attributes to exclude when copying across the attributes to the new instance - RESTART_EXCLUDES = %w(_id state created_at started_at completed_at failure_count worker_name percent_complete exception result run_at) + RESTART_EXCLUDES = %w(_id state created_at started_at completed_at failure_count worker_name percent_complete exception result run_at record_count sub_state) included do after_abort :rocket_job_restart_new_instance after_complete :rocket_job_restart_new_instance after_fail :rocket_job_restart_abort