Skip to content

Commit

Permalink
Adding a default queue.
Browse files Browse the repository at this point in the history
By default, Resque will try to work on the 'default' queue. Seems
simple.

I don't know how to write a good test for this, though.
  • Loading branch information
aarti authored and steveklabnik committed Apr 18, 2013
1 parent e34baf9 commit eb4f038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def initialize(args = [], opts = [], config = {})
end

desc "work", "Start processing jobs."
option :queues, :aliases => ["-q"], :type => :string
option :queues, :aliases => ["-q"], :type => :string, :default => "default"
option :require, :aliases => ["-r"], :type => :string
option :pid_file, :aliases => ["-p"], :type => :string
option :interval, :aliases => ["-i"], :type => :numeric
Expand Down

0 comments on commit eb4f038

Please sign in to comment.