#755: update logging for publishing BuildList
This commit is contained in:
parent
b62414ec1d
commit
8ef5129e00
|
@ -5,11 +5,9 @@ module AbfWorker
|
|||
# - #build_canceled
|
||||
|
||||
def abf_worker_log
|
||||
q = 'abfworker::'
|
||||
q << worker_queue('-')
|
||||
q << '-'
|
||||
q << id.to_s
|
||||
Resque.redis.get(q) || I18n.t('layout.build_lists.log.not_available')
|
||||
l = Resque.redis.get "abfworker::#{worker_queue('-')}-#{id}"
|
||||
l ||= Resque.redis.get "abfworker::publish-build-list-container-worker-#{id}" if is_a?(BuildList) && build_publish?
|
||||
l || I18n.t('layout.build_lists.log.not_available')
|
||||
end
|
||||
|
||||
def add_job_to_abf_worker_queue
|
||||
|
|
Loading…
Reference in New Issue