From 8356746ea476d46648f6ebfaf438e468d2b9a1bf Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 13 Dec 2022 06:05:29 +0100 Subject: [PATCH] Fix image cache pruning interval --- src/MxcImageProvider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MxcImageProvider.cpp b/src/MxcImageProvider.cpp index 00177b73..ade12dee 100644 --- a/src/MxcImageProvider.cpp +++ b/src/MxcImageProvider.cpp @@ -33,7 +33,7 @@ MxcImageProvider::MxcImageProvider(QObject *parent) #endif { auto timer = new QTimer(this); - timer->setInterval(std::chrono::hours(30)); + timer->setInterval(std::chrono::hours(1)); connect(timer, &QTimer::timeout, this, [] { QThreadPool::globalInstance()->start([] { QDir dir(QStandardPaths::writableLocation(QStandardPaths::CacheLocation) +