mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-22 08:20:59 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue