smithjd updated this revision to Diff 43623. smithjd added a comment.
- Re-write the file index scheduler. Combine content indexer suspend logic. - Update the balooctl tool with the changed suspend/resume behaviour. - Re-order and use IndexerState to prioritize the indexer thread pool. - Newline and tab fixes. - Prevent a scheduler race condition. - Separate runnableStateChanged into two functors. - Allow the first run indexer to complete before running any other runnables. Prevent the new file and unindexed file runnables from running at the same time. - Revert "Re-order and use IndexerState to prioritize the indexer thread pool." - Simplify locking the scheduler. - Adapt index cleaner to scheduler. Exporting the storage object is not part of this patchset. REPOSITORY R293 Baloo CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D13216?vs=43355&id=43623 BRANCH master-scheduler (branched from master) REVISION DETAIL https://phabricator.kde.org/D13216 AFFECTED FILES src/file/fileindexscheduler.cpp src/file/fileindexscheduler.h src/tools/balooctl/main.cpp To: smithjd, bruns, mgallien Cc: ngraham, kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, bruns, abrahams