increased limit for publish build_lists

This commit is contained in:
Alexey Vokhmin 2013-04-24 01:02:34 +04:00
parent 768307366c
commit cf225ec613
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ module AbfWorker
order(:updated_at) order(:updated_at)
locked_ids = @redis.lrange(LOCKED_BUILD_LISTS, 0, -1) 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.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 => []}} old_packages = {:sources => [], :binaries => {:x86_64 => [], :i586 => []}}