Skip to content

Commit

Permalink
format Indexer attribute groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry committed Aug 27, 2021
1 parent 9980075 commit 57660b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions biothings/hub/dataindex/indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,13 +295,13 @@ def __init__(self, build_doc, indexer_env, index_name):
_build_doc.enrich_settings(self.es_index_settings)
_build_doc.enrich_mappings(self.es_index_mappings)

# ----------logging----------
# -----------info-----------

self.env_name = indexer_env.get("name")
self.conf_name = _build_doc.build_config.get("name")
self.build_name = _build_doc.build_name
self.logger, self.logfile = get_logger('index_%s' % self.es_index_name)

self.logger, self.logfile = get_logger('index_%s' % self.es_index_name)
self.pinfo = ProcessInfo(self, indexer_env.get("concurrency", 10))

def __str__(self):
Expand Down

0 comments on commit 57660b1

Please sign in to comment.