Stop open measurement before logging it
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user