Stop open measurement before logging it

This commit is contained in:
Michael Vines 2019-11-25 22:20:30 -07:00
parent 578b56fc10
commit acd1505050
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 1 additions and 0 deletions

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,