remove an useless dbg

This commit is contained in:
Irevoire 2022-10-25 15:35:06 +02:00 committed by Clément Renault
parent 61f0940f8c
commit e0821ad4b0
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -297,7 +297,7 @@ impl IndexScheduler {
details, details,
status, status,
kind, kind,
} = task.clone(); } = task;
assert_eq!(uid, task.uid); assert_eq!(uid, task.uid);
if let Some(task_index_uid) = &task_index_uid { if let Some(task_index_uid) = &task_index_uid {
assert!(self assert!(self
@ -319,9 +319,6 @@ impl IndexScheduler {
.get(&rtxn, &BEI128::new(started_at.unix_timestamp_nanos())) .get(&rtxn, &BEI128::new(started_at.unix_timestamp_nanos()))
.unwrap() .unwrap()
.unwrap(); .unwrap();
if !db_started_at.contains(task_id) {
dbg!(&task);
}
assert!(db_started_at.contains(task_id)); assert!(db_started_at.contains(task_id));
} }
if let Some(finished_at) = finished_at { if let Some(finished_at) = finished_at {