D19007: Wait for DBus Reply Before Performing Computations

David Edmundson noreply at phabricator.kde.org
Fri Feb 15 02:07:44 GMT 2019


davidedmundson added inline comments.

INLINE COMMENTS

> bruns wrote in monitor.cpp:90
> much more trivial:
> 
>   auto updateInterval = std::max(100, 5 * m_scheduler->getBatchSize());
>   if (m_filesIndexed % updateInterval == 0) { ...

That won't fix the issue.

getBatchSize is still returning a QDBusPendingReply, using the value before it's loaded will always be zero.

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D19007

To: narvaez, #baloo, bruns, astippich, poboiko
Cc: davidedmundson, kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190215/925d8749/attachment.html>


More information about the Kde-frameworks-devel mailing list