Increase minimum time to log block processing (#2661)
* Increase minimum time to log block processing * Revert change to vote processor timings
This commit is contained in:
parent
8d73c04778
commit
67fb5cc21d
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ void nano::block_processor::process_batch (nano::unique_lock<std::mutex> & lock_
|
|||
awaiting_write = false;
|
||||
lock_a.unlock ();
|
||||
|
||||
if (node.config.logging.timing_logging () && number_of_blocks_processed != 0 && timer_l.stop () > std::chrono::milliseconds (10))
|
||||
if (node.config.logging.timing_logging () && number_of_blocks_processed != 0 && timer_l.stop () > std::chrono::milliseconds (100))
|
||||
{
|
||||
node.logger.always_log (boost::str (boost::format ("Processed %1% blocks (%2% blocks were forced) in %3% %4%") % number_of_blocks_processed % number_of_forced_processed % timer_l.value ().count () % timer_l.unit ()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue