Increase number of simultaneous published build lists to 1500

This commit is contained in:
Wedge 2020-05-07 14:02:57 +03:00
parent da6ccea9fc
commit 161f476688
1 changed files with 2 additions and 2 deletions

View File

@ -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
end