Skip to content

Commit

Permalink
Merge pull request #7 from CarlChaoCarl/testnet
Browse files Browse the repository at this point in the history
code update for testnet deploy
  • Loading branch information
yuekun0707 authored Aug 9, 2024
2 parents 4b51c2c + ae84eba commit 3404e75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion post/account_indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def run():
except ProgrammingError:
raise Exception("__h2e_accounts table not exists in database")

es = elasticsearch.Elasticsearch(conf['es_url'], use_ssl=True, ca_certs=certifi.where())
es = elasticsearch.Elasticsearch(conf['es_url'])

if not es.ping():
raise Exception("Elasticsearch server not reachable")
Expand Down
2 changes: 1 addition & 1 deletion post/posts_indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

conf = vars(args)

es = elasticsearch.Elasticsearch(conf['es_url'], use_ssl=True, ca_certs=certifi.where())
es = elasticsearch.Elasticsearch(conf['es_url'])

bulk_errors = 0

Expand Down

0 comments on commit 3404e75

Please sign in to comment.