From 5011ab395dd75a4bbea0ff46cb2a9cacfc095c84 Mon Sep 17 00:00:00 2001 From: Irevoire Date: Tue, 25 Oct 2022 15:35:06 +0200 Subject: [PATCH] remove an useless dbg --- index-scheduler/src/utils.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index-scheduler/src/utils.rs b/index-scheduler/src/utils.rs index 07a2161a4..1b22f609c 100644 --- a/index-scheduler/src/utils.rs +++ b/index-scheduler/src/utils.rs @@ -297,7 +297,7 @@ impl IndexScheduler { details, status, kind, - } = task.clone(); + } = task; assert_eq!(uid, task.uid); if let Some(task_index_uid) = &task_index_uid { assert!(self @@ -319,9 +319,6 @@ impl IndexScheduler { .get(&rtxn, &BEI128::new(started_at.unix_timestamp_nanos())) .unwrap() .unwrap(); - if !db_started_at.contains(task_id) { - dbg!(&task); - } assert!(db_started_at.contains(task_id)); } if let Some(finished_at) = finished_at {