summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-12-13 06:05:29 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-12-13 06:05:29 +0100
commit8356746ea476d46648f6ebfaf438e468d2b9a1bf (patch)
tree11dfa64aa69f90d504c6cf22abe6c36cca46d89f /src
parentAdd cache pruning for old image files (diff)
downloadnheko-8356746ea476d46648f6ebfaf438e468d2b9a1bf.tar.xz
Fix image cache pruning interval
Diffstat (limited to 'src')
-rw-r--r--src/MxcImageProvider.cpp2
1 files changed, 1 insertions, 1 deletions
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) +