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
2eab479c
Commit
2eab479c
authored
Sep 08, 2016
by
Ahmad Sherif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove [ES INDEXER] tag as it is already implied by the file name
parent
20712080
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bin/elastic_repo_indexer
bin/elastic_repo_indexer
+3
-3
No files found.
bin/elastic_repo_indexer
View file @
2eab479c
...
...
@@ -17,7 +17,7 @@ FROM_SHA = ENV['FROM_SHA']
TO_SHA
=
ENV
[
'TO_SHA'
]
RAILS_ENV
=
ENV
[
'RAILS_ENV'
]
LOGGER
.
info
(
"
[ES indexer]:
Has been scheduled for project
#{
REPO_PATH
}
with SHA range
#{
FROM_SHA
}
:
#{
TO_SHA
}
"
)
LOGGER
.
info
(
"Has been scheduled for project
#{
REPO_PATH
}
with SHA range
#{
FROM_SHA
}
:
#{
TO_SHA
}
"
)
elastic_connection_info
=
JSON
.
parse
ENV
[
'ELASTIC_CONNECTION_INFO'
]
ELASTIC_HOST
=
elastic_connection_info
[
'host'
]
...
...
@@ -62,7 +62,7 @@ end
puts
"Done"
LOGGER
.
info
(
"
[ES indexer]:
Commits for
#{
REPO_PATH
}
are indexed. Time elapsed:
#{
timings
.
real
}
"
)
LOGGER
.
info
(
"Commits for
#{
REPO_PATH
}
are indexed. Time elapsed:
#{
timings
.
real
}
"
)
print
"Indexing blobs..."
...
...
@@ -72,4 +72,4 @@ end
puts
"Done"
LOGGER
.
info
(
"
[ES indexer]:
Blobs for
#{
REPO_PATH
}
are indexed. Time elapsed:
#{
timings
.
real
}
"
)
LOGGER
.
info
(
"Blobs for
#{
REPO_PATH
}
are indexed. Time elapsed:
#{
timings
.
real
}
"
)
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