From ddd495e9f3868c98355d2d57065d13fdb58ba25d Mon Sep 17 00:00:00 2001 From: Sergiu Popescu Date: Fri, 20 Dec 2024 11:20:11 +0100 Subject: [PATCH] fixup! fixup! fixup! feat(iota-data-ingestion-core): add README.md --- crates/iota-data-ingestion-core/README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/iota-data-ingestion-core/README.md b/crates/iota-data-ingestion-core/README.md index bdb07fe1dc9..6b244703255 100644 --- a/crates/iota-data-ingestion-core/README.md +++ b/crates/iota-data-ingestion-core/README.md @@ -102,7 +102,7 @@ loop { // Graceful shutdown _ = &mut self.exit_receiver => break, // Receive from Workers the processed checkpoint sequence numbers, this means that the - // files are no longer and a GC can be safely performed + // files are no longer needed and a GC can be safely performed Some(gc_checkpoint_number) = self.processed_receiver.recv() => { self.gc_processed_files(gc_checkpoint_number).expect("Failed to clean the directory"); } @@ -141,9 +141,6 @@ pub trait ProgressStore: Send { } ``` -> [!NOTE] -> It's crucial to note that omitting the `save` method implementation would prevent garbage collection, which can be useful for custom indexers designed to interact solely with remote sources and avoid unnecessary local data storage. - Instead of directly using the custom `ProgressStore` implementation, the `IndexerExecutor` interacts with it through a wrapper: ```rust