Skip to content

Commit

Permalink
Add queues setup in capistrano2 task.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Rozumey committed Dec 4, 2014
1 parent a2df250 commit 77dbe6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/capistrano/tasks/capistrano2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def start_process(pid_file, idx)
args.push "--environment #{fetch(:sidekiq_env)}"
args.push "--tag #{fetch(:sidekiq_tag)}" if fetch(:sidekiq_tag)
args.push "--logfile #{fetch(:sidekiq_log)}" if fetch(:sidekiq_log)
fetch(:sidekiq_queue).each do |queue|
args.push "--queue #{queue}"
end if fetch(:sidekiq_queue)
args.push fetch(:sidekiq_options)

if defined?(JRUBY_VERSION)
Expand Down

0 comments on commit 77dbe6b

Please sign in to comment.