-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calculate scheduler limits for sync using AnkiWeb limit
Fixes #5666 - Sync Failure on Large Dynamic Decks We modified `mReportLimit` in #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 it by using a new scheduler with the correct `mReportLimit` for calculating the number of cards in the selected deck
- Loading branch information
1 parent
f8123f1
commit b06592e
Showing
4 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters