alan-turing-institute / reginald

Reginald repository for REG Hack Week 23
3 stars 0 forks source link

Add try/except with max number of retries for building index #157

Closed rchan26 closed 1 month ago

rchan26 commented 5 months ago

On our container instance, we sometimes get timeout errors. We should implement a try/except to catch these and retry up to a specified number of retries.

A wait might also be useful to include in case the error is due to some quota limit.