mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Allow up to 128 MB of cached images.
This commit is contained in:
parent
c9159e2191
commit
fabf830132
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ using namespace Images;
|
|||
namespace Images {
|
||||
namespace {
|
||||
|
||||
// After 64MB of unpacked images we try to clear some memory.
|
||||
constexpr auto kMemoryForCache = 64 * 1024 * 1024;
|
||||
// After 128 MB of unpacked images we try to clear some memory.
|
||||
constexpr auto kMemoryForCache = 128 * 1024 * 1024;
|
||||
|
||||
QMap<QString, Image*> LocalFileImages;
|
||||
QMap<QString, Image*> WebUrlImages;
|
||||
|
|
Loading…
Add table
Reference in a new issue