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 15, 2024
1 parent 18554c9 commit 0e21712
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 0e21712

Please sign in to comment.