From 161f47668890182466a01eecfd00e38a35e6c573 Mon Sep 17 00:00:00 2001 From: Wedge Date: Thu, 7 May 2020 14:02:57 +0300 Subject: [PATCH] Increase number of simultaneous published build lists to 1500 --- app/services/abf_worker_service/rpm.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/services/abf_worker_service/rpm.rb b/app/services/abf_worker_service/rpm.rb index 249ee5929..0393189cb 100644 --- a/app/services/abf_worker_service/rpm.rb +++ b/app/services/abf_worker_service/rpm.rb @@ -232,10 +232,10 @@ module AbfWorkerService order(:updated_at) locked_ids = Redis.current.lrange(LOCKED_BUILD_LISTS, 0, -1) build_lists = build_lists.where('build_lists.id NOT IN (?)', locked_ids) if locked_ids.present? - build_lists = build_lists.limit(150) + build_lists = build_lists.limit(1500) filter_build_lists_without_packages(build_lists.to_a) end end end -end \ No newline at end of file +end