mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 06:07:45 +00:00
Fix cache limit
This commit is contained in:
parent
adb0087194
commit
ffaae36d25
@ -30,7 +30,7 @@ namespace {
|
|||||||
constexpr auto kMegabyte = int64(1024 * 1024);
|
constexpr auto kMegabyte = int64(1024 * 1024);
|
||||||
constexpr auto kTotalSizeLimitsCount = 27;
|
constexpr auto kTotalSizeLimitsCount = 27;
|
||||||
constexpr auto kMediaSizeLimitsCount = 27;
|
constexpr auto kMediaSizeLimitsCount = 27;
|
||||||
constexpr auto kMinimalSizeLimit = 100 * kMegabyte;
|
constexpr auto kMinimalSizeLimit = 20 * kMegabyte;
|
||||||
constexpr auto kTimeLimitsCount = 22;
|
constexpr auto kTimeLimitsCount = 22;
|
||||||
constexpr auto kMaxTimeLimitValue = std::numeric_limits<size_type>::max();
|
constexpr auto kMaxTimeLimitValue = std::numeric_limits<size_type>::max();
|
||||||
constexpr auto kFakeMediaCacheTag = uint16(0xFFFF);
|
constexpr auto kFakeMediaCacheTag = uint16(0xFFFF);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user