#755: disable logger on publishing
This commit is contained in:
parent
df144b78e0
commit
281346a546
|
@ -5,9 +5,7 @@ module AbfWorker
|
||||||
# - #build_canceled
|
# - #build_canceled
|
||||||
|
|
||||||
def abf_worker_log
|
def abf_worker_log
|
||||||
l = Resque.redis.get "abfworker::#{worker_queue('-')}-#{id}"
|
Resque.redis.get("abfworker::#{worker_queue('-')}-#{id}") || I18n.t('layout.build_lists.log.not_available')
|
||||||
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
|
end
|
||||||
|
|
||||||
def add_job_to_abf_worker_queue
|
def add_job_to_abf_worker_queue
|
||||||
|
|
Loading…
Reference in New Issue