Stop open measurement before logging it
This commit is contained in:
parent
578b56fc10
commit
acd1505050
|
@ -185,6 +185,7 @@ impl Blocktree {
|
||||||
.unwrap_or(0);
|
.unwrap_or(0);
|
||||||
let last_root = Arc::new(RwLock::new(max_root));
|
let last_root = Arc::new(RwLock::new(max_root));
|
||||||
|
|
||||||
|
measure.stop();
|
||||||
info!("{:?} {}", blocktree_path, measure);
|
info!("{:?} {}", blocktree_path, measure);
|
||||||
Ok(Blocktree {
|
Ok(Blocktree {
|
||||||
db,
|
db,
|
||||||
|
|
Loading…
Reference in New Issue