Skip to content
Snippets Groups Projects
Commit facbe061 authored by Valery Sizov's avatar Valery Sizov
Browse files

Indexer works with smaller batches of repositories to not exceed NOFILE limit

parent 6d7a6424
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,6 +3,7 @@ Please view this file on the master branch, on stable branches it's out of date.
v 8.13.0 (unreleased)
 
v 8.12.4 (unreleased)
- [ES] Indexer works with smaller batches of repositories to not exceed NOFILE limit
 
v 8.12.3
- Fix prevent_secrets checkbox on admin view
Loading
Loading
@@ -13,7 +14,7 @@ v 8.12.2
 
v 8.12.1
- Prevent secrets to be pushed to the repository
- Prevent secrets to be pushed to the repository
- Prevent secrets to be pushed to the repository
 
v 8.12.0
- Include more data in EE usage ping
Loading
Loading
Loading
Loading
@@ -23,7 +23,7 @@ namespace :gitlab do
 
indexer = Gitlab::Elastic::Indexer.new
 
projects.find_each do |project|
projects.find_each(batch_size: 300) do |project|
repository = project.repository
 
if repository.exists? && !repository.empty?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment