diff --git a/nano/node/confirming_set.cpp b/nano/node/confirming_set.cpp index 7c24e641fe..d763f82f32 100644 --- a/nano/node/confirming_set.cpp +++ b/nano/node/confirming_set.cpp @@ -246,7 +246,7 @@ void nano::confirming_set::run_batch (std::unique_lock & lock) { // Confirming this block may implicitly confirm more stats.add (nano::stat::type::confirming_set, nano::stat::detail::cemented, added.size ()); - for (auto & block : added) + for (auto const & block : added) { cemented.push_back ({ block, hash, election }); } @@ -257,7 +257,7 @@ void nano::confirming_set::run_batch (std::unique_lock & lock) { stats.inc (nano::stat::type::confirming_set, nano::stat::detail::rate_limited); transaction.commit (); - std::this_thread::sleep_for (500ms); + std::this_thread::sleep_for (100ms); transaction.renew (); if (stopped) {