2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-29 13:47:47 +00:00

Fix cache limit

This commit is contained in:
RadRussianRus 2020-07-03 11:47:53 +03:00
parent adb0087194
commit ffaae36d25

View File

@ -30,7 +30,7 @@ namespace {
constexpr auto kMegabyte = int64(1024 * 1024);
constexpr auto kTotalSizeLimitsCount = 27;
constexpr auto kMediaSizeLimitsCount = 27;
constexpr auto kMinimalSizeLimit = 100 * kMegabyte;
constexpr auto kMinimalSizeLimit = 20 * kMegabyte;
constexpr auto kTimeLimitsCount = 22;
constexpr auto kMaxTimeLimitValue = std::numeric_limits<size_type>::max();
constexpr auto kFakeMediaCacheTag = uint16(0xFFFF);