Skip to content

Commit

Permalink
Comment out retry
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanzhou committed Jul 20, 2024
1 parent 73cc60e commit ec4d0b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hubmap_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def __init__(self, indices, app_client_id, app_client_secret, token, ontology_ap
self.INDICES: dict = {'default_index': self.DEFAULT_INDEX_WITHOUT_PREFIX, 'indices': self.indices}
self.DEFAULT_ENTITY_API_URL = self.INDICES['indices'][self.DEFAULT_INDEX_WITHOUT_PREFIX]['document_source_endpoint'].strip('/')
self._ontology_api_base_url = ontology_api_base_url
self.es_retry_on_conflict_param_value = indices['es_retry_on_conflict_param_value']

# Commented out by Zhou to avoid 409 conflicts - 7/20/2024
# self.es_retry_on_conflict_param_value = indices['es_retry_on_conflict_param_value']

self.indexer = Indexer(self.indices, self.DEFAULT_INDEX_WITHOUT_PREFIX)

Expand Down

0 comments on commit ec4d0b8

Please sign in to comment.