D21671: [FileIndexScheduler] Stop the indexer when quit() is called via DBus
Stefan Brüns
noreply at phabricator.kde.org
Sat Jun 8 18:02:09 BST 2019
bruns created this revision.
bruns added reviewers: Baloo, ngraham, astippich, poboiko.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.
REVISION SUMMARY
The 'stop' flag was not set when the scheduler is quit, and the content
indexer thread would keep running until it had processed all documents
marked in the DB.
TEST PLAN
feed some files into the content indexer
try to stop the indexer, e.g. `balooctl stop` or using DBus
-> the content indexer should stop after the current batch
REPOSITORY
R293 Baloo
BRANCH
scheduler
REVISION DETAIL
https://phabricator.kde.org/D21671
AFFECTED FILES
src/file/fileindexscheduler.cpp
To: bruns, #baloo, ngraham, astippich, poboiko
Cc: kde-frameworks-devel, LeGast00n, 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/20190608/4ac657d9/attachment.html>
More information about the Kde-frameworks-devel
mailing list