Rename callTrace into progressTrace

This commit is contained in:
Kerollmops 2025-02-25 10:07:51 +01:00
parent ea7bae9a71
commit dfce20be21
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
12 changed files with 63 additions and 63 deletions

View file

@ -343,7 +343,7 @@ pub fn snapshot_batch(batch: &Batch) -> String {
let mut snap = String::new();
let Batch { uid, details, stats, started_at, finished_at, progress: _, enqueued_at } = batch;
let stats = BatchStats {
call_trace: Default::default(),
progress_trace: Default::default(),
write_channel_congestion: None,
..stats.clone()
};

View file

@ -342,7 +342,7 @@ impl IndexScheduler {
// We must re-add the canceled task so they're part of the same batch.
ids |= canceled;
processing_batch.stats.call_trace =
processing_batch.stats.progress_trace =
progress.accumulated_durations().into_iter().map(|(k, v)| (k, v.into())).collect();
processing_batch.stats.write_channel_congestion = congestion.map(|congestion| {
let mut congestion_info = serde_json::Map::new();