Rollback changes

This commit is contained in:
Vokhmin Alexey V 2013-11-27 20:35:01 +04:00
parent 858a348544
commit de7b60fac2
2 changed files with 3 additions and 3 deletions

View File

@ -16,8 +16,8 @@ class Api::V1::JobsController < Api::V1::BaseController
if current_user.system?
# Temporally
# if task = (Resque.pop('rpm_worker_default') || Resque.pop('rpm_worker'))
if task = Resque.pop('rpm_worker')
# if task = Resque.pop('rpm_worker')
if task = (Resque.pop('rpm_worker_default') || Resque.pop('rpm_worker'))
@build_list = BuildList.where(:id => task['args'][0]['id']).first
end
end

View File

@ -4,7 +4,7 @@ base_path = "/srv/rosa_build"
rails_env = ENV['RAILS_ENV'] || 'production'
worker_processes 6
worker_processes 8
working_directory File.join(base_path, 'current') # available in 0.94.0+
# listen File.join(base_path, 'tmp', 'pids', 'unicorn.sock')