Skip to content

Commit

Permalink
Increase kImageCacheTimeout to 60 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Aug 4, 2013
1 parent 0505988 commit 9cfc14f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mythtv/libs/libmythui/mythuihelper.cpp
Expand Up @@ -1493,7 +1493,9 @@ MythImage *MythUIHelper::LoadCacheImage(QString srcfile, QString label,
// This code relaxes the original-file check so that the check
// isn't repeated if it was already done within kImageCacheTimeout
// seconds.
const uint kImageCacheTimeout = 20;

// This only applies to the MEMORY cache
const uint kImageCacheTimeout = 60;
uint now = MythDate::current().toTime_t();

QMutexLocker locker(d->m_cacheLock);
Expand Down

0 comments on commit 9cfc14f

Please sign in to comment.