Skip to content

Commit

Permalink
Merge branch 'enrich_feelings_ssl' of 'https://github.com/zhquan/Grim…
Browse files Browse the repository at this point in the history
…oireELK'

Merges #1025
Closes #1025
  • Loading branch information
zhquan committed Jan 24, 2022
2 parents b174a12 + 0c28cd6 commit ffa779a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grimoire_elk/enriched/enrich.py
Original file line number Diff line number Diff line change
Expand Up @@ -2096,7 +2096,8 @@ def enrich_feelings(self, ocean_backend, enrich_backend, attributes, nlp_rest_ur
logger.info("[enrich-feelings] Start study on {} with data from {}".format(
anonymize_url(self.elastic.index_url), nlp_rest_url))

es = ES([self.elastic_url], timeout=3600, max_retries=50, retry_on_timeout=True, verify_certs=False)
es = ES([self.elastic_url], timeout=3600, max_retries=50, retry_on_timeout=True,
verify_certs=self.elastic.requests.verify, connection_class=RequestsHttpConnection)
search_fields = [attr for attr in attributes]
search_fields.extend([uuid_field])
page = es.search(index=enrich_backend.elastic.index,
Expand Down

0 comments on commit ffa779a

Please sign in to comment.