File increase-timeout.patch of Package kdepimlibs4.4915
From: David Faure <faure@kde.org> Date: Thu, 25 Feb 2016 07:38:32 +0000 Subject: Akonadi::SpecialCollectionsRequestJob: increase timeout from 10s to 30s X-Git-Url: http://quickgit.kde.org/?p=kdepimlibs.git&a=commitdiff&h=cdc600992f8d281fe8f5c92f59ea5c303a70bb49 --- Akonadi::SpecialCollectionsRequestJob: increase timeout from 10s to 30s When KMail is started as part of session restoration, many things are happening at the same time, and it can happen that another program has the lock for more than 10 seconds. This reduces the risk of being greeted in the morning by a suicide note: "The EMail program encountered a fatal error and will terminate now. The error was: Timeout trying to get lock" BUG: 246027 REVIEW: 127175 --- --- a/akonadi/specialcollectionshelperjobs.cpp +++ b/akonadi/specialcollectionshelperjobs.cpp @@ -44,7 +44,7 @@ #include <QtCore/QTime> #include <QtCore/QTimer> -#define LOCK_WAIT_TIMEOUT_SECONDS 10 +#define LOCK_WAIT_TIMEOUT_SECONDS 30 using namespace Akonadi;