[Nepomuk] Review Request: Kill the indexer process after a certain timeout

Sebastian Trueg sebastian at trueg.de
Wed Oct 12 10:06:50 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102835/
-----------------------------------------------------------

Review request for Nepomuk.


Description
-------

We already put the indexing into its own process since strigi's indexers tend to crash every once in a while. But there is another problem: indexers that run into loops or have other problems that result in them never finishing. The "solution" is to kill the indexer process after a certain time. In this patch I chose 2 minutes which I feel is already way too much time than an indexer should spend on a file.


Diffs
-----

  services/fileindexer/nepomukindexer.h 5b14787 
  services/fileindexer/nepomukindexer.cpp d89a6b8 

Diff: http://git.reviewboard.kde.org/r/102835/diff/diff


Testing
-------

Tested with a short timeout. The process is killed and the indexing continues without problems.


Thanks,

Sebastian Trueg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20111012/ebe8b97d/attachment.html>


More information about the Nepomuk mailing list