From a24bd9baa1e333bf536e86171c773a42232317fb Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 5 Nov 2018 21:11:12 -0700 Subject: [PATCH] pcbnew: Adjust default update rate to 100ms 10ms was too fast to update the progress reporter and actually slowed the process down for many machines. --- pcbnew/connectivity/connectivity_algo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/connectivity/connectivity_algo.cpp b/pcbnew/connectivity/connectivity_algo.cpp index 0ee1e09878..003ae835f5 100644 --- a/pcbnew/connectivity/connectivity_algo.cpp +++ b/pcbnew/connectivity/connectivity_algo.cpp @@ -251,14 +251,14 @@ void CN_CONNECTIVITY_ALGO::searchConnections() for( size_t ii = 0; ii < parallelThreadCount; ++ii ) { - // Here we balance returns with a 10ms timeout to allow UI updating + // Here we balance returns with a 100ms timeout to allow UI updating std::future_status status; do { if( m_progressReporter ) m_progressReporter->KeepRefreshing(); - status = returns[ii].wait_for( std::chrono::milliseconds( 10 ) ); + status = returns[ii].wait_for( std::chrono::milliseconds( 100 ) ); } while( status != std::future_status::ready ); } }