lib/good_job.rb in good_job-3.5.0 vs lib/good_job.rb in good_job-3.5.1

- old
+ new

@@ -55,10 +55,10 @@ # @!scope class # Whether to preserve job records in the database after they have finished (default: +true+). # By default, GoodJob deletes job records after the job is completed successfully. # If you want to preserve jobs for latter inspection, set this to +true+. # If you want to preserve only jobs that finished with error for latter inspection, set this to +:on_unhandled_error+. - # @return [Boolean, Symbol, nil] + # @return [Boolean, nil] mattr_accessor :preserve_job_records, default: true # @!attribute [rw] retry_on_unhandled_error # @!scope class # Whether to re-perform a job when a type of +StandardError+ is raised to GoodJob (default: +false+).