[refs #510] Remove fork and import queues from bluepill instruction

This commit is contained in:
konstantin.grabar 2012-06-01 17:58:14 +04:00
parent 4fb74cdd50
commit d29065a12a
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ app_name = ENV['APP_NAME'] || 'rosa_build'
Bluepill.application(app_name) do |app| Bluepill.application(app_name) do |app|
app.uid = app.gid = 'rosa' app.uid = app.gid = 'rosa'
app.working_dir = "/srv/#{app_name}/current" app.working_dir = "/srv/#{app_name}/current"
%w(fork import hook default).each do |queue| %w(hook default).each do |queue|
app.process("delayed_job_#{queue}_queue") do |process| app.process("delayed_job_#{queue}_queue") do |process|
process.start_grace_time = 10.seconds process.start_grace_time = 10.seconds
process.stop_grace_time = 10.seconds process.stop_grace_time = 10.seconds