discover/discover-6.0.3-pk-refresh-timer-12h.patch

14 lines
821 B
Diff
Raw Permalink Normal View History

diff --git a/libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp b/libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp
index ca3afb51e..e887cdb95 100644
--- a/libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp
+++ b/libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp
@@ -61,7 +61,7 @@ PackageKitNotifier::PackageKitNotifier(QObject *parent)
bool ok;
const int days = value.toInt(&ok);
if (!ok || days == 0) {
- regularCheck->setInterval(24h); // refresh at least once every day
+ regularCheck->setInterval(12h); // refresh at least once every day
regularCheck->start();
if (!value.isEmpty())
qWarning() << "couldn't understand value for timer:" << value;