Stop open measurement before logging it

This commit is contained in:
Michael Vines
2019-11-25 22:20:30 -07:00
parent eaa3e87eb0
commit e6bc92f6c9

View File

@ -185,6 +185,7 @@ impl Blocktree {
.unwrap_or(0);
let last_root = Arc::new(RwLock::new(max_root));
measure.stop();
info!("{:?} {}", blocktree_path, measure);
Ok(Blocktree {
db,