From d8d3499aec68d4ea558b4997db9e94474a2c4311 Mon Sep 17 00:00:00 2001 From: Tamo Date: Mon, 26 Sep 2022 19:58:32 +0200 Subject: [PATCH] remove a bunch of comments --- index-scheduler/src/index_scheduler.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/index-scheduler/src/index_scheduler.rs b/index-scheduler/src/index_scheduler.rs index 083f39320..c43be62d0 100644 --- a/index-scheduler/src/index_scheduler.rs +++ b/index-scheduler/src/index_scheduler.rs @@ -327,7 +327,6 @@ impl IndexScheduler { /// Create and execute and store the result of one batch of registered tasks. fn tick(&self) -> Result<()> { - // We notifiy we're starting a tick. #[cfg(test)] self.test_breakpoint_sdr.send(Breakpoint::Start).unwrap(); @@ -344,7 +343,6 @@ impl IndexScheduler { let started_at = OffsetDateTime::now_utc(); *self.processing_tasks.write().unwrap() = (started_at, processing_tasks); - // We notifiy we've finished creating the tasks. #[cfg(test)] self.test_breakpoint_sdr .send(Breakpoint::BatchCreated) @@ -387,7 +385,6 @@ impl IndexScheduler { wtxn.commit()?; log::info!("A batch of tasks was successfully completed."); - // We notifiy we finished processing the tasks. #[cfg(test)] self.test_breakpoint_sdr .send(Breakpoint::BatchProcessed)