From ecbf3ae4c8a470ff32420fa7e804b93758e41b9c Mon Sep 17 00:00:00 2001 From: Fallengirl <155266340+Fallengirl@users.noreply.github.com> Date: Wed, 19 Feb 2025 10:11:48 +0100 Subject: [PATCH] Update data_cache.rs --- node/log_entry_sync/src/sync_manager/data_cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/log_entry_sync/src/sync_manager/data_cache.rs b/node/log_entry_sync/src/sync_manager/data_cache.rs index 00397d6..d71fa22 100644 --- a/node/log_entry_sync/src/sync_manager/data_cache.rs +++ b/node/log_entry_sync/src/sync_manager/data_cache.rs @@ -50,7 +50,7 @@ impl DataCache { /// Remove timeout data entries according to TTL. pub fn garbage_collect(&mut self, latest_tx_seq: u64) { - // We won't keep too many data, so it's okay to just iterate here. + // We won't keep too much data, so it's okay to just iterate here. self.root_to_data.retain(|_, cached| { cached.last_seen_tx_seq + self.config.tx_seq_ttl as u64 >= latest_tx_seq })