From 7e091dffd3a8dd314037f8bccbece06fa84995ff Mon Sep 17 00:00:00 2001 From: Liam Bigelow <40188355+bglw@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:53:02 +1300 Subject: [PATCH] Remove errant debug logging crushing the node performance --- pagefind/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pagefind/src/lib.rs b/pagefind/src/lib.rs index 87b40da5..370a96cf 100644 --- a/pagefind/src/lib.rs +++ b/pagefind/src/lib.rs @@ -82,9 +82,6 @@ impl SearchState { pub async fn fossick_one(&mut self, file: Fossicker) -> Result { let result = file.fossick(&self.options).await; - self.options - .logger - .info(format!("Indexing file into: {:#?}", self.fossicked_pages)); if let Ok(result) = result.clone() { let existing = self .fossicked_pages @@ -96,9 +93,6 @@ impl SearchState { self.fossicked_pages.push(result); } } - self.options - .logger - .info(format!("Now: {:#?}", self.fossicked_pages)); result }