Fix image cache pruning interval

This commit is contained in:
Nicolas Werner 2022-12-13 06:05:29 +01:00
parent 95d898e09d
commit 8356746ea4
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 1 additions and 1 deletions

View File

@ -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) +