Fixed: build_lists statistics

This commit is contained in:
Vokhmin Alexey V 2014-02-26 19:06:46 +04:00
parent 139dc177d4
commit db3ba727e9
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,9 @@ module AbfWorker
external_bls = BuildList.for_status(BuildList::BUILD_PENDING).external_nodes(:everything).count
result[:rpm][:default_tasks] += external_bls + count_of_tasks('user_build_')
result[:rpm][:tasks] += external_bls + count_of_tasks('mass_build_')
mass_build_tasks = count_of_tasks('mass_build_')
result[:rpm][:low_tasks] += mass_build_tasks
result[:rpm][:tasks] += external_bls + mass_build_tasks
result
end
end