lib/good_job/configuration.rb in good_job-1.2.6 vs lib/good_job/configuration.rb in good_job-1.3.0
- old
+ new
@@ -6,10 +6,10 @@
#
class Configuration
# Default number of threads to use per {Scheduler}
DEFAULT_MAX_THREADS = 5
# Default number of seconds between polls for jobs
- DEFAULT_POLL_INTERVAL = 1
+ DEFAULT_POLL_INTERVAL = 5
# Default number of seconds to preserve jobs for {CLI#cleanup_preserved_jobs}
DEFAULT_CLEANUP_PRESERVED_JOBS_BEFORE_SECONDS_AGO = 24 * 60 * 60
# @!attribute [r] options
# The options that were explicitly set when initializing +Configuration+.