Skip to content

Commit

Permalink
Wait for metastore up to 60 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload committed Feb 14, 2024
1 parent 98be4f6 commit 7d16b4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quickwit/quickwit-serve/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ pub async fn serve_quickwit(
if let Some(metastore_server) = &metastore_server_opt {
metastore_server.clone()
} else {
// Wait for a metastore service to be available for at most 10 seconds.
// Wait for a metastore service to be available for at most 60 seconds.
if cluster
.wait_for_ready_members(has_node_with_metastore_service, Duration::from_secs(10))
.wait_for_ready_members(has_node_with_metastore_service, Duration::from_secs(60))
.await
.is_err()
{
Expand Down

0 comments on commit 7d16b4c

Please sign in to comment.