Skip to content

Commit

Permalink
reduce stdout logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cong-or committed Mar 28, 2023
1 parent 4eaca82 commit e2409f2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/voting-tools-rs/src/par/verify.rs
Expand Up @@ -73,11 +73,12 @@ pub fn filter_registrations(
while let Some(row) = results.next()? {
// Here we can use a threadpool with a size == number of cores.
// We can process each row in parallel using this pool.

info!(
"registrations processed {:?}",
valids.len() + invalids.len()
);
if valids.len() % 100 == 0 {
info!(
"registrations processed {:?}",
valids.len() + invalids.len()
);
}

// registration tx_id
let tx_id: i64 = row.get(REG_TX_ID);
Expand Down

0 comments on commit e2409f2

Please sign in to comment.