mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-23 02:56:08 +08:00
Reorder steps
This commit is contained in:
parent
4a058a080e
commit
e9add14189
@ -85,7 +85,7 @@ fn push_steps_durations(
|
||||
now: Instant,
|
||||
idx: usize,
|
||||
) {
|
||||
for (i, (_, _, started_at)) in steps.iter().skip(idx).enumerate() {
|
||||
for (i, (_, _, started_at)) in steps.iter().skip(idx).enumerate().rev() {
|
||||
let full_name = steps.iter().take(idx + i + 1).map(|(_, s, _)| s.name()).join(" > ");
|
||||
durations.push((full_name, now.duration_since(*started_at)));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user