Revision c441198...

Go back to digest for 9th June 2013

Bug Fixes in KDE Base

Simeon Bird committed changes in [nepomuk-core] /fileindexer:

FileIndexer: Do not attempt to index files multiple times

If a file indexing job fails, set kext::indexingLevel to -1, so
that the next time the file queue fills, it is omitted.
This means we don't burn CPU trying to index things multiple times.

Almost all of the patch is actually moving updateIndexingLevel from
indexer/indexer.cpp to utils.cpp, and updating the build system to
match.

REVIEW: 110794

File Changes

Modified 5 files
  • /fileindexer
  •   services/fileindexingqueue.cpp
  •   services/util.cpp
  •   services/util.h
  •   services/indexer/indexer.cpp
  •   services/test/CMakeLists.txt
5 files changed in total