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:
parent
527a7c1e33
commit
8621d71cb1
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue