Skip to content

Commit

Permalink
Temp fix to add retries to get_all_vespa_ids_for_document_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Weves committed Oct 29, 2024
1 parent fcb94f1 commit 40a0f71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/danswer/document_index/vespa/chunk_retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ def _get_chunks_via_visit_api(
return document_chunks


@retry(tries=10, delay=1, backoff=2)
def get_all_vespa_ids_for_document_id(
document_id: str,
index_name: str,
Expand Down

0 comments on commit 40a0f71

Please sign in to comment.