#755: disable logger on publishing

This commit is contained in:
Vokhmin Alexey V 2012-12-11 21:11:00 +04:00
parent df144b78e0
commit 281346a546
1 changed files with 1 additions and 3 deletions

View File

@ -5,9 +5,7 @@ module AbfWorker
# - #build_canceled
def abf_worker_log
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')
Resque.redis.get("abfworker::#{worker_queue('-')}-#{id}") || I18n.t('layout.build_lists.log.not_available')
end
def add_job_to_abf_worker_queue