Skip to content

Commit

Permalink
qos service should also accumulate executed but errored units (#328)
Browse files Browse the repository at this point in the history
qos service should also accumulated executed but errored units
  • Loading branch information
tao-stones authored Mar 20, 2024
1 parent 8df80d9 commit 184ba6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/banking_stage/consumer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,9 @@ impl Consumer {
(0, 0),
|(units, times), program_timings| {
(
units.saturating_add(program_timings.accumulated_units),
units
.saturating_add(program_timings.accumulated_units)
.saturating_add(program_timings.total_errored_units),
times.saturating_add(program_timings.accumulated_us),
)
},
Expand Down

0 comments on commit 184ba6c

Please sign in to comment.