Update ReblogCache.swift (#1121)

Increase cache size to 300, since 100 was too small and I was still seeing many duplicate boosts.
This commit is contained in:
Mike Cohen 2023-02-28 21:30:54 -08:00 committed by GitHub
parent 527a7c1e33
commit 8621d71cb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ public class ReblogCache {
private var needsWrite = false
init() {
statusCache.countLimit = 100 // can tune the cache here, 100 is super conservative
statusCache.countLimit = 300 // can tune the cache here, 100 is super conservative
// read any existing cache from disk
if FileManager.default.fileExists(atPath: cacheFile.path()) {