lib/good_job/cli.rb in good_job-1.1.1 vs lib/good_job/cli.rb in good_job-1.1.2
- old
+ new
@@ -8,11 +8,11 @@
method_option :max_threads,
type: :numeric,
desc: "Maximum number of threads to use for working jobs (default: ActiveRecord::Base.connection_pool.size)"
method_option :queues,
type: :string,
- banner: "queue1,queue2(;queue3,queue4:5)",
- desc: "Queues to work from. Separate multiple queues with commas; separate isolated execution pools with semicolons and threads with colons (default: *)"
+ banner: "queue1,queue2(;queue3,queue4:5;-queue1,queue2)",
+ desc: "Queues to work from. Separate multiple queues with commas; exclude queues with a leading minus; separate isolated execution pools with semicolons and threads with colons (default: *)"
method_option :poll_interval,
type: :numeric,
desc: "Interval between polls for available jobs in seconds (default: 1)"
def start
set_up_application!