D27326: [FileIndexScheduler] Force evaluation of indexerState after suspend/resume

Stefan Brüns noreply at phabricator.kde.org
Tue Feb 11 15:51:18 GMT 2020


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

REVISION SUMMARY
  When the scheduler is idle when suspending scheduleIndexing() has to be
  triggered, otherwise indexerState is only evaluated on the first external
  trigger (e.g. a changed file).
  
  On resume, scheduleIndexing() never updated the state, as Suspended did
  not qualify as an Idle state. This had the effect of the scheduler being
  stuck in the Suspended state.

TEST PLAN
  balooctl suspend && balooctl status
  balooctl resume && balooctl status

REPOSITORY
  R293 Baloo

BRANCH
  master

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

AFFECTED FILES
  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/20200211/3d85aa87/attachment.html>


More information about the Kde-frameworks-devel mailing list