Skip to content

Commit

Permalink
add 200ms timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
philipperolet committed Dec 16, 2024
1 parent ac4fa4f commit 82d7a33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/search_stores/search_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ impl SearchStore for ElasticsearchSearchStore {

self.client
.index(IndexParts::IndexId(NODES_INDEX_NAME, &document.document_id))
.timeout("200ms")
.body(node)
.send()
.await?;
Expand Down

0 comments on commit 82d7a33

Please sign in to comment.