mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Rename callTrace into progressTrace
This commit is contained in:
parent
ea7bae9a71
commit
dfce20be21
12 changed files with 63 additions and 63 deletions
|
@ -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()
|
||||
};
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue