From d3f399865cbc59e54de15c1e4e5daaa7571de15b Mon Sep 17 00:00:00 2001 From: Remi Dettai Date: Thu, 16 May 2024 13:57:00 +0000 Subject: [PATCH] Apply review comments --- .../src/metastore/file_backed/lazy_file_backed_index.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickwit/quickwit-metastore/src/metastore/file_backed/lazy_file_backed_index.rs b/quickwit/quickwit-metastore/src/metastore/file_backed/lazy_file_backed_index.rs index c316df90c42..7a915f07f23 100644 --- a/quickwit/quickwit-metastore/src/metastore/file_backed/lazy_file_backed_index.rs +++ b/quickwit/quickwit-metastore/src/metastore/file_backed/lazy_file_backed_index.rs @@ -30,7 +30,7 @@ use super::file_backed_index::FileBackedIndex; use super::store_operations::{load_index, METASTORE_FILE_NAME}; /// Lazy [`FileBackedIndex`]. It loads a `FileBackedIndex` on demand. When the index is first -/// loaded, it optionally spawns a task to regularly poll the storage and update the index. +/// loaded, it optionally spawns a task to periodically poll the storage and update the index. pub(crate) struct LazyFileBackedIndex { index_id: IndexId, storage: Arc, @@ -67,7 +67,7 @@ impl LazyFileBackedIndex { } } - /// Get a syncronized `FileBackedIndex`. If the index wasn't provided on creation, we load it + /// Gets a synchronized `FileBackedIndex`. If the index wasn't provided on creation, we load it /// lazily on the first call of this method. pub async fn get(&self) -> MetastoreResult>> { self.lazy_index