#822: remove #abf_worker_base_class methods
This commit is contained in:
parent
8c67c5151f
commit
d60ea41146
|
@ -433,10 +433,6 @@ class BuildList < ActiveRecord::Base
|
|||
'rpm_worker'
|
||||
end
|
||||
|
||||
def abf_worker_base_class
|
||||
'AbfWorker::RpmWorker'
|
||||
end
|
||||
|
||||
def abf_worker_args
|
||||
include_repos_hash = {}.tap do |h|
|
||||
include_repos.each do |r|
|
||||
|
|
|
@ -137,10 +137,6 @@ class ProductBuildList < ActiveRecord::Base
|
|||
'iso_worker'
|
||||
end
|
||||
|
||||
def abf_worker_base_class
|
||||
'AbfWorker::IsoWorker'
|
||||
end
|
||||
|
||||
def abf_worker_args
|
||||
file_name = "#{project.owner.uname}-#{project.name}-#{commit_hash}"
|
||||
opts = {:host => ActionMailer::Base.default_url_options[:host]}
|
||||
|
|
|
@ -39,7 +39,7 @@ module AbfWorker
|
|||
end
|
||||
|
||||
def worker_queue_class(queue_class = nil)
|
||||
queue_class ||= abf_worker_base_class
|
||||
queue_class ||= "AbfWorker::#{abf_worker_base_queue.classify}"
|
||||
queue_class << abf_worker_priority.capitalize
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue