Run update
This commit is contained in:
parent
09a9390c92
commit
ce9f52267a
1 changed files with 6 additions and 6 deletions
|
@ -19,12 +19,12 @@ def run(index_path: str):
|
|||
# retrieve_batches()
|
||||
# except Exception:
|
||||
# logger.exception("Error retrieving batches")
|
||||
try:
|
||||
run_preprocessing(index_path)
|
||||
except Exception:
|
||||
logger.exception("Error preprocessing")
|
||||
# try:
|
||||
# run_update(index_path)
|
||||
# run_preprocessing(index_path)
|
||||
# except Exception:
|
||||
# logger.exception("Error running index update")
|
||||
# logger.exception("Error preprocessing")
|
||||
try:
|
||||
run_update(index_path)
|
||||
except Exception:
|
||||
logger.exception("Error running index update")
|
||||
sleep(10)
|
||||
|
|
Loading…
Add table
Reference in a new issue