From 567a52dd60c697dc228dbc8cd860cad55e29596e Mon Sep 17 00:00:00 2001 From: Remi Dettai Date: Wed, 15 May 2024 09:37:36 +0000 Subject: [PATCH] Fix polling interval formatting --- distribution/lambda/README.md | 2 +- quickwit/quickwit-lambda/src/searcher/environment.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/distribution/lambda/README.md b/distribution/lambda/README.md index d7140e8e622..4dfb3b10cc2 100644 --- a/distribution/lambda/README.md +++ b/distribution/lambda/README.md @@ -129,7 +129,7 @@ Indexer only: Searcher only: | Variable | Description | Default | |---|---|---| -| QW_LAMBDA_SEARCHER_METASTORE_POLLING_INTERVAL| refresh interval of the metastore | 1m | +| QW_LAMBDA_SEARCHER_METASTORE_POLLING_INTERVAL_SECONDS | refresh interval of the metastore | 60 | | QW_LAMBDA_PARTIAL_REQUEST_CACHE_CAPACITY | `searcher.partial_request_cache_capacity` node config | 64M | diff --git a/quickwit/quickwit-lambda/src/searcher/environment.rs b/quickwit/quickwit-lambda/src/searcher/environment.rs index 0cf6a22a66d..ee369a0bd86 100644 --- a/quickwit/quickwit-lambda/src/searcher/environment.rs +++ b/quickwit/quickwit-lambda/src/searcher/environment.rs @@ -20,7 +20,7 @@ pub(crate) const CONFIGURATION_TEMPLATE: &str = r#" version: 0.8 node_id: lambda-searcher -metastore_uri: s3://${QW_LAMBDA_METASTORE_BUCKET}/index#polling_interval=${QW_LAMBDA_SEARCHER_METASTORE_POLLING_INTERVAL:-1m} +metastore_uri: s3://${QW_LAMBDA_METASTORE_BUCKET}/index#polling_interval=${QW_LAMBDA_SEARCHER_METASTORE_POLLING_INTERVAL_SECONDS:-60}s default_index_root_uri: s3://${QW_LAMBDA_INDEX_BUCKET}/index data_dir: /tmp searcher: