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

Commit Hook null at kde.org
Fri Oct 14 08:35:50 UTC 2011


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


This review has been submitted with commit c14e878cc255fa92bdcffad6edb2a59579b0c51d by Sebastian Trueg to branch master.

- Commit Hook


On Oct. 12, 2011, 10:06 a.m., Sebastian Trueg wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102835/
> -----------------------------------------------------------
> 
> (Updated Oct. 12, 2011, 10:06 a.m.)
> 
> 
> 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/20111014/52ad86bb/attachment-0001.html>


More information about the Nepomuk mailing list