From 8ebc2b19eab2c230b8f4982750272621c3912339 Mon Sep 17 00:00:00 2001 From: Tamo Date: Tue, 21 Mar 2023 17:58:36 +0100 Subject: [PATCH] remove a bunch of confusing logs --- index-scheduler/src/lib.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/index-scheduler/src/lib.rs b/index-scheduler/src/lib.rs index 4b1af6624..b16472d9b 100644 --- a/index-scheduler/src/lib.rs +++ b/index-scheduler/src/lib.rs @@ -544,20 +544,9 @@ impl IndexScheduler { fn run(&self) { let run = self.private_clone(); - if run.cluster.is_some() { - log::warn!("Run in a cluster"); - } else { - log::warn!("Run not in a cluster"); - } - // if we're a follower we starts a thread to register the tasks coming from the leader if let Some(Cluster::Follower(ref follower)) = self.cluster { let this = self.private_clone(); - if this.cluster.is_some() { - log::warn!("this in a cluster"); - } else { - log::warn!("this not in a cluster"); - } let follower = follower.clone(); std::thread::spawn(move || loop { let (task, content) = follower.get_new_task();