Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
facbe061
Commit
facbe061
authored
Oct 04, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indexer works with smaller batches of repositories to not exceed NOFILE limit
parent
6d7a6424
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG-EE
CHANGELOG-EE
+2
-1
lib/tasks/gitlab/elastic.rake
lib/tasks/gitlab/elastic.rake
+1
-1
No files found.
CHANGELOG-EE
View file @
facbe061
...
...
@@ -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
...
...
@@ -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
...
...
lib/tasks/gitlab/elastic.rake
View file @
facbe061
...
...
@@ -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?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment