Skip to content

Commit

Permalink
Fix cache limit
Browse files Browse the repository at this point in the history
  • Loading branch information
EricKotato committed Jul 3, 2020
1 parent adb0087 commit ffaae36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/boxes/local_storage_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ffaae36

Please sign in to comment.