lib/good_job/configuration.rb in good_job-2.0.2 vs lib/good_job/configuration.rb in good_job-2.0.3
- old
+ new
@@ -14,10 +14,10 @@
DEFAULT_POLL_INTERVAL = 10
# Default poll interval for async in development environment
DEFAULT_DEVELOPMENT_ASYNC_POLL_INTERVAL = -1
# Default number of threads to use per {Scheduler}
DEFAULT_MAX_CACHE = 10000
- # Default number of seconds to preserve jobs for {CLI#cleanup_preserved_jobs}
+ # Default number of seconds to preserve jobs for {CLI#cleanup_preserved_jobs} and {GoodJob.cleanup_preserved_jobs}
DEFAULT_CLEANUP_PRESERVED_JOBS_BEFORE_SECONDS_AGO = 24 * 60 * 60
# Default to always wait for jobs to finish for {Adapter#shutdown}
DEFAULT_SHUTDOWN_TIMEOUT = -1
# Default to not running cron
DEFAULT_ENABLE_CRON = false