lib/good_job/cli.rb in good_job-1.6.0 vs lib/good_job/cli.rb in good_job-1.7.0

- old
+ new

@@ -47,9 +47,13 @@ desc: "Queues to work from. (env var: GOOD_JOB_QUEUES, default: *)" method_option :poll_interval, type: :numeric, banner: 'SECONDS', desc: "Interval between polls for available jobs in seconds (env var: GOOD_JOB_POLL_INTERVAL, default: 5)" + method_option :max_cache, + type: :numeric, + banner: 'COUNT', + desc: "Maximum number of scheduled jobs to cache in memory (env var: GOOD_JOB_MAX_CACHE, default: 10000)" method_option :daemonize, type: :boolean, desc: "Run as a background daemon (default: false)" method_option :pidfile, type: :string,