Skip to content

Commit 90c9393

Browse files
author
Richard Kuo (Onyx)
committed
vespa setup should break on success
1 parent dd7077a commit 90c9393

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/onyx/db/swap_index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def _perform_index_swap(
9595

9696
logger.notice("Vespa index swap complete.")
9797
success = True
98+
break
9899
except Exception:
99100
logger.exception(
100101
f"Vespa index swap did not succeed. The Vespa service may not be ready yet. Retrying in {WAIT_SECONDS} seconds."

0 commit comments

Comments
 (0)