lib/good_job.rb in good_job-3.6.2 vs lib/good_job.rb in good_job-3.7.0

- old
+ new

@@ -52,12 +52,13 @@ mattr_accessor :logger, default: DEFAULT_LOGGER # @!attribute [rw] preserve_job_records # @!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+. + # If you do not want to preserve jobs, set this to +false+. + # When using GoodJob's cron functionality, job records will be preserved for a brief time to prevent duplicate jobs. # @return [Boolean, Symbol, nil] mattr_accessor :preserve_job_records, default: true # @!attribute [rw] retry_on_unhandled_error # @!scope class