mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-28 18:01:08 -06:00
#11285 GRPC: fix high CPU usage in console application
Increase polling interval to avoid using one core constantly. Fixes #11285.
This commit is contained in:
parent
76df7e8631
commit
b595487d23
@ -46,7 +46,7 @@ RiaGrpcConsoleApplication::RiaGrpcConsoleApplication( int& argc, char** argv )
|
||||
{
|
||||
m_idleTimer = new QTimer( this );
|
||||
connect( m_idleTimer, SIGNAL( timeout() ), this, SLOT( doIdleProcessing() ) );
|
||||
m_idleTimer->start( 0 );
|
||||
m_idleTimer->start( 5 );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user