Update lib/recipes/resque.rb
This commit is contained in:
parent
48618155ff
commit
5fefb1f1da
|
@ -27,13 +27,13 @@ Capistrano::Configuration.instance(:must_exist).load do
|
||||||
|
|
||||||
def start_workers
|
def start_workers
|
||||||
queue = [
|
queue = [
|
||||||
|
:publish_observer,
|
||||||
|
:rpm_worker_observer,
|
||||||
|
:iso_worker_observer,
|
||||||
:fork_import,
|
:fork_import,
|
||||||
:hook,
|
:hook,
|
||||||
:clone_build,
|
:clone_build,
|
||||||
:notification,
|
:notification
|
||||||
:iso_worker_observer,
|
|
||||||
:rpm_worker_observer,
|
|
||||||
:publish_observer
|
|
||||||
].join(',')
|
].join(',')
|
||||||
run "cd #{fetch :current_path} && COUNT=#{workers_count} QUEUE=#{queue} #{rails_env} BACKGROUND=yes bundle exec rake resque:workers"
|
run "cd #{fetch :current_path} && COUNT=#{workers_count} QUEUE=#{queue} #{rails_env} BACKGROUND=yes bundle exec rake resque:workers"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue