mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 18:21:00 +00:00
Bump cache to 600 posts
This commit is contained in:
parent
eb0b1043c7
commit
970305210b
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ public actor TimelineCache {
|
|||
|
||||
func set(statuses: [Status], client: Client) async {
|
||||
guard !statuses.isEmpty else { return }
|
||||
let statuses = statuses.prefix(upTo: min(400, statuses.count - 1)).map { $0 }
|
||||
let statuses = statuses.prefix(upTo: min(600, statuses.count - 1)).map { $0 }
|
||||
do {
|
||||
let engine = storageFor(client)
|
||||
try await engine.removeAllData()
|
||||
|
|
Loading…
Reference in a new issue