Rollback changes
This commit is contained in:
parent
858a348544
commit
de7b60fac2
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue