Skip to content

Commit

Permalink
Update indexer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Zhou committed Aug 24, 2021
1 parent 720103e commit 3437066
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hub/dataindex/indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ def __init__(self, build_doc, indexer_env, index_name):
self.assembly = build_doc["build_config"]["assembly"]

@asyncio.coroutine
def post_index(self):
def post_index(self, *args, **kwargs):
# Migrated from Sebastian's commit 1a7b7a
# It was orginally marked "Not Tested Yet".
self.logger.info("Sleeping for a bit while index is being fully updated...")
yield from time.sleep(3*60)
yield from asyncio.sleep(3*60)
idxer = ESIndexer(
index=self.es_index_name,
doc_type=self.doc_type,
Expand Down

0 comments on commit 3437066

Please sign in to comment.