Skip to content

Commit 59e78e2

Browse files
committed
Fix polling interval formatting
1 parent bba245d commit 59e78e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

distribution/lambda/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Indexer only:
129129
Searcher only:
130130
| Variable | Description | Default |
131131
|---|---|---|
132-
| QW_LAMBDA_SEARCHER_METASTORE_POLLING_INTERVAL| refresh interval of the metastore | 1m |
132+
| QW_LAMBDA_SEARCHER_METASTORE_POLLING_INTERVAL_SECONDS | refresh interval of the metastore | 60 |
133133
| QW_LAMBDA_PARTIAL_REQUEST_CACHE_CAPACITY | `searcher.partial_request_cache_capacity` node config | 64M |
134134

135135

quickwit/quickwit-lambda/src/searcher/environment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
pub(crate) const CONFIGURATION_TEMPLATE: &str = r#"
2121
version: 0.8
2222
node_id: lambda-searcher
23-
metastore_uri: s3://${QW_LAMBDA_METASTORE_BUCKET}/index#polling_interval=${QW_LAMBDA_SEARCHER_METASTORE_POLLING_INTERVAL:-1m}
23+
metastore_uri: s3://${QW_LAMBDA_METASTORE_BUCKET}/index#polling_interval=${QW_LAMBDA_SEARCHER_METASTORE_POLLING_INTERVAL_SECONDS:-60}s
2424
default_index_root_uri: s3://${QW_LAMBDA_INDEX_BUCKET}/index
2525
data_dir: /tmp
2626
searcher:

0 commit comments

Comments
 (0)