Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
course-discovery
Commits
3bb41ddd
Commit
3bb41ddd
authored
Feb 03, 2016
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #23 from edx/clintonb/remove-sniffing
Removed Elasticsearch sniff_on_start
parents
63d36819
420d7af6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
course_discovery/apps/courses/management/commands/install_es_indexes.py
+1
-1
No files found.
course_discovery/apps/courses/management/commands/install_es_indexes.py
View file @
3bb41ddd
...
@@ -17,7 +17,7 @@ class Command(BaseCommand):
...
@@ -17,7 +17,7 @@ class Command(BaseCommand):
alias
=
settings
.
ELASTICSEARCH
[
'index'
]
alias
=
settings
.
ELASTICSEARCH
[
'index'
]
logger
.
info
(
'Attempting to establish initial connection to Elasticsearch host [
%
s]...'
,
host
)
logger
.
info
(
'Attempting to establish initial connection to Elasticsearch host [
%
s]...'
,
host
)
es
=
Elasticsearch
(
host
,
sniff_on_start
=
True
)
es
=
Elasticsearch
(
host
)
logger
.
info
(
'...success!'
)
logger
.
info
(
'...success!'
)
ElasticsearchUtils
.
create_alias_and_index
(
es
,
alias
)
ElasticsearchUtils
.
create_alias_and_index
(
es
,
alias
)
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