Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mentha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
rank
mentha
Commits
b322cd55
Commit
b322cd55
authored
4 years ago
by
李小芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新代码
parent
8974d9c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
utils.py
data_sync/utils.py
+1
-1
No files found.
data_sync/utils.py
View file @
b322cd55
...
...
@@ -189,5 +189,5 @@ def get_es_instance():
'sniff_on_connection_fail'
:
False
,
}
new_hosts
=
settings
.
ES7_HOSTS
__es_instance
=
Elasticsearch
(
hosts
=
new_hosts
,
**
init_args
)
__es_instance
=
Elasticsearch
(
hosts
=
new_hosts
,
http_auth
=
(
"elastic"
,
"gengmei!@#"
),
**
init_args
)
return
__es_instance
This diff is collapsed.
Click to expand it.
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