Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ankidroid#5666 - Sync Failure on Large Dynamic Decks
We modified `mReportLimit` in ankidroid#5326 to allow a user to see how many cards they had if there were more than 1000 in a queue. This had an impact on calculating the number of cards in the current deck, which is required for a sync to ensure that the server and client are consistent. This caused an inconsistency (as we calculate the proper value), and this meant that a full sync needed to occur if a dynamic deck with over 1000 cards in a queue was selected. This fixes the issue by using a new scheduler with the correct `mReportLimit` for calculating the number of cards in the selected deck
- Loading branch information