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