Skip to content

Commit

Permalink
Merge pull request seuros#57 from brain-geek/master
Browse files Browse the repository at this point in the history
Add queues setup in capistrano2 task
  • Loading branch information
seuros committed Dec 5, 2014
2 parents a2df250 + 77dbe6b commit 289edd4
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 289edd4

Please sign in to comment.