Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Aug 12, 2024
1 parent 09c5307 commit 910be57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/trie/prefetch/src/prefetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl TriePrefetch {
let self_clone = Arc::new(self.clone());
let mut shutdown_rx = shutdown_rx.clone();
tokio::spawn(async move {
if let Err(e) = self_clone.prefetch_once::<DB>(consistent_view, hashed_state, count, &mut shutdown_rx).await {
if let Err(e) = self_clone.prefetch_once::<DB>(consistent_view, hashed_state, &mut shutdown_rx).await {
debug!(target: "trie::trie_prefetch", ?e, "Error while prefetching trie storage");
};
});
Expand Down Expand Up @@ -139,13 +139,13 @@ impl TriePrefetch {
self: Arc<Self>,
consistent_view: Arc<ConsistentDbView<DB, ProviderFactory<DB>>>,
hashed_state: HashedPostState,
count: u64,
// count: u64,
shutdown_rx: &mut watch::Receiver<bool>,
) -> Result<(), TriePrefetchError>
where
DB: Database,
{
debug!("prefetch once started {:?}", count);
// debug!("prefetch once started {:?}", count);

let mut tracker = TrieTracker::default();

Expand Down Expand Up @@ -243,7 +243,7 @@ impl TriePrefetch {
"prefetched account trie"
);

debug!("prefetch once finished {:?}", count);
// debug!("prefetch once finished {:?}", count);

Ok(())
}
Expand Down

0 comments on commit 910be57

Please sign in to comment.