Persistent history tracking returns all transactions on app launch #480
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: shadowfacts/Tusker#480
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
844d4056e3/Tusker/CoreData/MastodonCachePersistentStore.swift (L531)
Because we call
fetchHistory(after:)
with nil, we waste a lot of time/energy going through every history instruction. We need to save theNSPersistentHistoryToken
to disk after each remote change notification is handled.Should also purge old history entries per https://developer.apple.com/documentation/coredata/consuming_relevant_store_changes