Skip to content

Commit

Permalink
infinite retries
Browse files Browse the repository at this point in the history
  • Loading branch information
leftmove committed Nov 22, 2023
1 parent b11dafa commit f54e3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def main():
index.uid for index in search.get_indexes()["results"]
]:
time.sleep(1)
retries -= 1
continue
retries -= 1
raise RuntimeError
except:
time.sleep(3)
Expand Down

0 comments on commit f54e3de

Please sign in to comment.