D28267: [FileIndexScheduler] Update the content index progress more often

Stefan BrĂ¼ns noreply at phabricator.kde.org
Wed Mar 25 00:16:53 GMT 2020


bruns created this revision.
bruns added reviewers: Baloo, ngraham.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  Currently the progress/remaining time was only updated once per batch as
  the count or pending files was only updated once per batch. Use the
  ExtractorProcess::finishedIndexingFile signal to count indexed files.
  
  This also allows to get rid of the recurrent DB access to get the count
  of remaining files.
  
  Depends on D28258 <https://phabricator.kde.org/D28258>

TEST PLAN
  Progress in kinfocenter is updated each second, not only every
  batch.

REPOSITORY
  R293 Baloo

BRANCH
  config_rework

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

AFFECTED FILES
  src/file/filecontentindexer.cpp
  src/file/filecontentindexer.h
  src/file/fileindexscheduler.cpp
  src/file/fileindexscheduler.h

To: bruns, #baloo, ngraham
Cc: kde-frameworks-devel, hurikhan77, lots0logs, LeGast00n, cblack, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200325/a621f2e5/attachment.html>


More information about the Kde-frameworks-devel mailing list