lib/cany/recipes/sidekiq.rb in cany-0.5.4 vs lib/cany/recipes/sidekiq.rb in cany-0.5.5
- old
+ new
@@ -40,12 +40,12 @@
inner.binary
end
def sidekiq_args
args = %w(--environment production)
- if queues.any?
+ queues.each do |queue|
args << '--queue'
- args << queues.join(',')
+ args << queue.to_s
end
args
end
end
end