Commit a949f221 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Parser: Increase update callback rate

parent 1eca3908
......@@ -143,7 +143,7 @@ void Parser::updateStats( bool newMediaParsed, bool newMediaQueued )
return;
}
// Only send an update every X new elem
const uint32_t NbElems = 10;
const uint32_t NbElems = 3;
if ( ( newMediaParsed == true && m_nbParsed % NbElems == 0 ) ||
( newMediaQueued == true && m_nbToParse % NbElems == 0 ) )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment