Accumulate step durations from the progress system

This commit is contained in:
Kerollmops 2025-02-18 18:33:19 +01:00
parent 0f1aeb8eaa
commit 11a11fc870
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
2 changed files with 55 additions and 7 deletions

View file

@ -339,6 +339,7 @@ impl IndexScheduler {
// We must re-add the canceled task so they're part of the same batch.
ids |= canceled;
eprintln!("{:#?}", progress.accumulated_durations());
self.queue.write_batch(&mut wtxn, processing_batch, &ids)?;
#[cfg(test)]