Add logging for bulk indexing

This commit is contained in:
Roman Zeyde 2018-07-12 21:30:33 +03:00
parent 4d322d4819
commit 03790d9977
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

View File

@ -215,6 +215,7 @@ pub fn index(daemon: &Daemon, metrics: &Metrics, store: DBStore) -> Result<()> {
return Ok(());
}
let blk_files = daemon.list_blk_files()?;
info!("indexing {} blk*.dat files", blk_files.len());
let parser = Parser::new(daemon, metrics)?;
let (blobs, reader) = start_reader(blk_files, parser.clone());
let rows_chan = SyncChannel::new(0);