Skip to content

Commit

Permalink
bump temporary cache up to 30 days
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcl committed Jun 26, 2024
1 parent 922e83b commit b5f65d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/KukaiCoreSwift/Services/MediaProxyService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public class MediaProxyService: NSObject {
public static func setupImageLibrary() {
MediaProxyService.permanentCache.config.maxMemoryCost = UInt(100 * 1000 * 1000) // 100 MB

MediaProxyService.temporaryCache.config.maxDiskAge = 3600 * 24 * 7 // 1 Week
MediaProxyService.temporaryCache.config.maxDiskAge = 3600 * 24 * 30 // 30 days
MediaProxyService.temporaryCache.config.maxMemoryCost = UInt(500 * 1000 * 1000) // 500 MB

MediaProxyService.detailCache.config.maxDiskAge = 3600 * 24 // 1 day
Expand Down

0 comments on commit b5f65d9

Please sign in to comment.