Add BigTableUploadService

This commit is contained in:
Michael Vines
2020-09-04 09:52:02 -07:00
parent bc7731b969
commit bafdcf24f5
2 changed files with 7 additions and 2 deletions

View File

@ -139,7 +139,7 @@ pub async fn upload_confirmed_blocks(
}
};
if i % NUM_BLOCKS_TO_UPLOAD_IN_PARALLEL == 0 {
if i > 0 && i % NUM_BLOCKS_TO_UPLOAD_IN_PARALLEL == 0 {
info!(
"{}% of blocks processed ({}/{})",
i * 100 / blocks_to_upload.len(),