mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
Cap optimal retention simulation to 10 years
This commit is contained in:
parent
ba9ee93fa8
commit
3c62a8345a
1 changed files with 3 additions and 0 deletions
|
|
@ -43,6 +43,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
daysToSimulate: 365,
|
||||
maxSecondsOfStudyPerDay: 1800,
|
||||
});
|
||||
$: if (optimalRetentionRequest.daysToSimulate > 3650) {
|
||||
optimalRetentionRequest.daysToSimulate = 3650;
|
||||
}
|
||||
async function computeWeights(): Promise<void> {
|
||||
if (computing) {
|
||||
await setWantsAbort({});
|
||||
|
|
|
|||
Loading…
Reference in a new issue