Skip to content

Commit

Permalink
avoid timeout when fist set up connection
Browse files Browse the repository at this point in the history
  • Loading branch information
nanshihui committed Oct 13, 2016
1 parent 3e59032 commit a0a1357
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 70 deletions.
153 changes: 84 additions & 69 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion elasticsearchmanage/elastictool.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import chardet
logger = initLog('logs/elastic.log', 2, True)
# Define a default Elasticsearch client
# connections.create_connection(hosts=['localhost'])
connections.create_connection(hosts=['localhost'])
import base64
def decodestr(msg):

Expand Down

0 comments on commit a0a1357

Please sign in to comment.