Run update

This commit is contained in:
Daoud Clarke 2022-07-18 21:55:27 +01:00
parent 09a9390c92
commit ce9f52267a

View file

@ -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)