Skip to content

Commit

Permalink
#11285 GRPC: fix high CPU usage in console application
Browse files Browse the repository at this point in the history
Increase polling interval to avoid using one core constantly.

Fixes #11285.
  • Loading branch information
kriben authored and magnesj committed Mar 13, 2024
1 parent 76df7e8 commit b595487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ApplicationExeCode/RiaGrpcConsoleApplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}

//--------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit b595487

Please sign in to comment.