Lower processing transaction message to debug by default
This commit is contained in:
committed by
Greg Fitzgerald
parent
7575d3c726
commit
87946eafd5
@ -293,7 +293,7 @@ impl Bank {
|
|||||||
/// Process a batch of transactions. It runs all debits first to filter out any
|
/// Process a batch of transactions. It runs all debits first to filter out any
|
||||||
/// transactions that can't be processed in parallel deterministically.
|
/// transactions that can't be processed in parallel deterministically.
|
||||||
pub fn process_transactions(&self, txs: Vec<Transaction>) -> Vec<Result<Transaction>> {
|
pub fn process_transactions(&self, txs: Vec<Transaction>) -> Vec<Result<Transaction>> {
|
||||||
info!("processing Transactions {}", txs.len());
|
debug!("processing Transactions {}", txs.len());
|
||||||
let results: Vec<_> = txs.into_par_iter()
|
let results: Vec<_> = txs.into_par_iter()
|
||||||
.map(|tx| self.apply_debits(&tx).map(|_| tx))
|
.map(|tx| self.apply_debits(&tx).map(|_| tx))
|
||||||
.collect(); // Calling collect() here forces all debits to complete before moving on.
|
.collect(); // Calling collect() here forces all debits to complete before moving on.
|
||||||
|
Reference in New Issue
Block a user