Increase number of simultaneous published build lists to 1500
This commit is contained in:
parent
da6ccea9fc
commit
161f476688
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue