Closed morph-dev closed 1 day ago
The StorageMetricsReporter doesn't return elapsed duration when stop_process_timer is called, which can be useful in some situations.
StorageMetricsReporter
stop_process_timer
This is a followup from #1295.
Make stop_process_timer return elapsed duration and use it to simplify the logic for updating pruning strategy.
What was wrong?
The
StorageMetricsReporter
doesn't return elapsed duration whenstop_process_timer
is called, which can be useful in some situations.This is a followup from #1295.
How was it fixed?
Make
stop_process_timer
return elapsed duration and use it to simplify the logic for updating pruning strategy.To-Do