Skip to content

Commit a7bd15d

Browse files
committed
fix metrics
1 parent 2152d92 commit a7bd15d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/state.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ impl ThreadSafeState {
363363
let bytes_sent_zero_copy =
364364
zero_copy.as_ref().map(|b| b.len()).unwrap_or(0);
365365

366-
state.metrics_op_dispatched(bytes_sent_control, bytes_sent_zero_copy);
367366
let op = handler(&state.clone(), control, zero_copy);
367+
state.metrics_op_dispatched(bytes_sent_control, bytes_sent_zero_copy);
368368

369369
match op {
370370
Op::Sync(buf) => {

0 commit comments

Comments
 (0)