mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Make max cache size functional again
This commit is contained in:
@@ -193,11 +193,10 @@ public final class MediaBox {
|
||||
postboxLog(string)
|
||||
}), basePath: basePath + "/storage")
|
||||
|
||||
self.timeBasedCleanup = TimeBasedCleanup(generalPaths: [
|
||||
//self.basePath,
|
||||
self.timeBasedCleanup = TimeBasedCleanup(storageBox: self.storageBox, generalPaths: [
|
||||
self.basePath + "/cache",
|
||||
self.basePath + "/animation-cache"
|
||||
], shortLivedPaths: [
|
||||
], totalSizeBasedPath: self.basePath, shortLivedPaths: [
|
||||
self.basePath + "/short-cache"
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user