Don't propogate limit extensions in v3 scheduler (#1724)
This commit is contained in:
parent
02c580e4f8
commit
5781e86995
@ -57,11 +57,13 @@ impl Collection {
|
||||
};
|
||||
if let Some(mut deck) = self.storage.get_deck(did)? {
|
||||
self.update_deck_stats_single(today, usn, &mut deck, mutator)?;
|
||||
for mut deck in self.storage.parent_decks(&deck)? {
|
||||
self.update_deck_stats_single(today, usn, &mut deck, mutator)?;
|
||||
}
|
||||
for mut deck in self.storage.child_decks(&deck)? {
|
||||
self.update_deck_stats_single(today, usn, &mut deck, mutator)?;
|
||||
if !self.get_config_bool(BoolKey::Sched2021) {
|
||||
for mut deck in self.storage.parent_decks(&deck)? {
|
||||
self.update_deck_stats_single(today, usn, &mut deck, mutator)?;
|
||||
}
|
||||
for mut deck in self.storage.child_decks(&deck)? {
|
||||
self.update_deck_stats_single(today, usn, &mut deck, mutator)?;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user