From cf225ec6138ee18c54a7a404f930f2210d0b9964 Mon Sep 17 00:00:00 2001 From: Alexey Vokhmin Date: Wed, 24 Apr 2013 01:02:34 +0400 Subject: [PATCH] increased limit for publish build_lists --- lib/abf_worker/build_lists_publish_task_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/abf_worker/build_lists_publish_task_manager.rb b/lib/abf_worker/build_lists_publish_task_manager.rb index e8a9e88c7..0b0f51d52 100644 --- a/lib/abf_worker/build_lists_publish_task_manager.rb +++ b/lib/abf_worker/build_lists_publish_task_manager.rb @@ -246,7 +246,7 @@ module AbfWorker order(:updated_at) locked_ids = @redis.lrange(LOCKED_BUILD_LISTS, 0, -1) build_lists = build_lists.where('build_lists.id NOT IN (?)', locked_ids) unless locked_ids.empty? - build_lists = build_lists.limit(50) + build_lists = build_lists.limit(150) old_packages = {:sources => [], :binaries => {:x86_64 => [], :i586 => []}}