Revert "don't update the counters at all, forgot that those are still in there"

This reverts commit 5af0f228ed.
This commit is contained in:
Christian Schwarz
2025-02-07 02:00:09 +01:00
parent e59422eb77
commit 6e51750e05

View File

@@ -1326,10 +1326,10 @@ impl SmgrOpFlushInProgress {
let mut observe_guard = scopeguard::guard(
|| {
let elapsed = now - self.base;
// self.global_micros
// .inc_by(u64::try_from(elapsed.as_micros()).unwrap());
// self.per_timeline_micros
// .inc_by(u64::try_from(elapsed.as_micros()).unwrap());
self.global_micros
.inc_by(u64::try_from(elapsed.as_micros()).unwrap());
self.per_timeline_micros
.inc_by(u64::try_from(elapsed.as_micros()).unwrap());
self.base = now;
},
|mut observe| {