mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-10 21:54:10 +01:00
Load new posts per 100 instead of 200
This commit is contained in:
parent
3a721d3280
commit
acccdb8041
@ -278,7 +278,7 @@ extension TimelineViewModel: StatusesFetcher {
|
||||
private func fetchNewPagesFrom(latestStatus: String, client: Client) async throws {
|
||||
canStreamEvents = false
|
||||
let initialTimeline = timeline
|
||||
var newStatuses: [Status] = await fetchNewPages(minId: latestStatus, maxPages: 10)
|
||||
var newStatuses: [Status] = await fetchNewPages(minId: latestStatus, maxPages: 5)
|
||||
|
||||
// Dedup statuses, a status with the same id could have been streamed in.
|
||||
let ids = await datasource.get().map(\.id)
|
||||
|
Loading…
Reference in New Issue
Block a user