diff --git a/submodules/TelegramCore/Sources/SyncCore/SyncCore_CacheStorageSettings.swift b/submodules/TelegramCore/Sources/SyncCore/SyncCore_CacheStorageSettings.swift index a5d2bc6d1a..407f75e6b1 100644 --- a/submodules/TelegramCore/Sources/SyncCore/SyncCore_CacheStorageSettings.swift +++ b/submodules/TelegramCore/Sources/SyncCore/SyncCore_CacheStorageSettings.swift @@ -24,8 +24,8 @@ public struct CacheStorageSettings: Codable, Equatable { defaultCacheStorageLimitGigabytes: 8 * 1024 * 1024, categoryStorageTimeout: [ .privateChats: Int32.max, - .groups: Int32.max, - .channels: Int32(1 * 24 * 60 * 60) + .groups: Int32(31 * 24 * 60 * 60), + .channels: Int32(31 * 24 * 60 * 60) ] ) }